mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +00:00
Ports: Describe in README that 'depends' is an array
The README previously described `depends` as a space-separated string. This is now changed to an array, which seem to be the correct type used in the other Ports.
This commit is contained in:
parent
c62c10caf0
commit
aa6e5e8cdc
1 changed files with 9 additions and 3 deletions
|
@ -106,7 +106,7 @@ port="foo"
|
||||||
version="1.2.3"
|
version="1.2.3"
|
||||||
useconfigure="true"
|
useconfigure="true"
|
||||||
files="https://example.com/foo-${version}.tar.gz foo-${version}.tar.gz"
|
files="https://example.com/foo-${version}.tar.gz foo-${version}.tar.gz"
|
||||||
depends="bar baz"
|
depends=("bar" "baz")
|
||||||
```
|
```
|
||||||
|
|
||||||
The script in the shebang, [`.port_include.sh`](./.port_include.sh), is where
|
The script in the shebang, [`.port_include.sh`](./.port_include.sh), is where
|
||||||
|
@ -160,8 +160,14 @@ Defaults to `configure`.
|
||||||
|
|
||||||
#### `depends`
|
#### `depends`
|
||||||
|
|
||||||
A space-separated list of other SerenityOS ports the port depends on and which
|
An array of other SerenityOS ports the port depends on and which will be
|
||||||
will be installed during the `installdepends` step.
|
installed during the `installdepends` step.
|
||||||
|
|
||||||
|
For example:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
depends=("ncurses" "gettext")
|
||||||
|
```
|
||||||
|
|
||||||
#### `files`
|
#### `files`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue