mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-03 08:30:10 -07:00
puke: build script can now be in any language.
This commit is contained in:
parent
fa0e65e1b0
commit
9268a692b6
@ -115,7 +115,9 @@ Puke's `update` operator does a `git pull` of the repository and compares the re
|
|||||||
|
|
||||||
### `build`
|
### `build`
|
||||||
|
|
||||||
The `build` file should contain the necessary steps to patch, configure, build and install the package. When at the install step; the variable `$pkg_dir` is available. This variable points to the directory the package manager uses for built packages. Whatever is in this directory will become part of the package's manifest and will be copied to `/` (or `$PUKE_ROOT`).
|
The `build` file should contain the necessary steps to patch, configure, build and install the package. The build script is sent a single argument. This argument points to the package directory. Whatever is in this directory will become part of the package's manifest and will be copied to `/` (or `$PUKE_ROOT`). The first argument is frequently used in `make DESTDIR="$1" install` for example.
|
||||||
|
|
||||||
|
The `build` file can be written in any language. The only requirement is that the file be executable.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
./configure \
|
./configure \
|
||||||
|
Loading…
Reference in New Issue
Block a user