mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 09:07:44 +00:00
Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
This commit is contained in:
parent
e507cfcdb0
commit
c07f91474d
149 changed files with 352 additions and 345 deletions
|
@ -3,13 +3,13 @@ port=bzip2
|
|||
version=1.0.8
|
||||
files="https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz bzip2-${version}.tar.gz ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269"
|
||||
auth_type=sha256
|
||||
makeopts=bzip2
|
||||
installopts="PREFIX=${SERENITY_INSTALL_ROOT}/usr/local"
|
||||
makeopts=("bzip2")
|
||||
installopts=("PREFIX=${SERENITY_INSTALL_ROOT}/usr/local")
|
||||
|
||||
build() {
|
||||
run make CC="${CC}" $makeopts bzip2
|
||||
run make CC="${CC}" "${makeopts[@]}" bzip2
|
||||
}
|
||||
|
||||
install() {
|
||||
run make DESTDIR=${SERENITY_INSTALL_ROOT} CC="${CC}" $installopts install
|
||||
run make DESTDIR=${SERENITY_INSTALL_ROOT} CC="${CC}" "${installopts[@]}" install
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue