1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 02:27:35 +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:
Tim Schumacher 2021-09-27 00:16:18 +02:00 committed by Andreas Kling
parent e507cfcdb0
commit c07f91474d
149 changed files with 352 additions and 345 deletions

View file

@ -5,7 +5,7 @@ version="17.04"
useconfigure=true
auth_type=sha256
files="https://github.com/jinfeihan57/p7zip/archive/refs/tags/v${version}.tar.gz p7zip-${version}.tar.gz ea029a2e21d2d6ad0a156f6679bd66836204aa78148a4c5e498fe682e77127ef"
configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
workdir=$port-$version/CPP
post_fetch() {
@ -13,11 +13,11 @@ post_fetch() {
}
configure() {
run cmake 7zip/CMAKE $configopts
run cmake 7zip/CMAKE "${configopts[@]}"
}
build() {
run make $makeopts
run make "${makeopts[@]}"
}
install() {