mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +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
Notes:
sideshowbarker
2024-07-17 21:29:54 +09:00
Author: https://github.com/erf Commit: https://github.com/SerenityOS/serenity/commit/aa6e5e8cdc3 Pull-request: https://github.com/SerenityOS/serenity/pull/11684
1 changed files with 9 additions and 3 deletions
|
@ -106,7 +106,7 @@ port="foo"
|
|||
version="1.2.3"
|
||||
useconfigure="true"
|
||||
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
|
||||
|
@ -160,8 +160,14 @@ Defaults to `configure`.
|
|||
|
||||
#### `depends`
|
||||
|
||||
A space-separated list of other SerenityOS ports the port depends on and which
|
||||
will be installed during the `installdepends` step.
|
||||
An array of other SerenityOS ports the port depends on and which will be
|
||||
installed during the `installdepends` step.
|
||||
|
||||
For example:
|
||||
|
||||
```bash
|
||||
depends=("ncurses" "gettext")
|
||||
```
|
||||
|
||||
#### `files`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue