1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:47:34 +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

@ -2,15 +2,15 @@
port=gnupg
version=2.3.0
useconfigure=true
configopts="--with-libgpg-error-prefix=${SERENITY_INSTALL_ROOT}/usr/local \
--with-libgcrypt-prefix=${SERENITY_INSTALL_ROOT}/usr/local \
--with-libassuan-prefix=${SERENITY_INSTALL_ROOT}/usr/local \
--with-ntbtls-prefix=${SERENITY_INSTALL_ROOT}/usr/local \
--with-npth-prefix=${SERENITY_INSTALL_ROOT}/usr/local \
--disable-dirmngr"
configopts=("--with-libgpg-error-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
"--with-libgcrypt-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
"--with-libassuan-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
"--with-ntbtls-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
"--with-npth-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
"--disable-dirmngr")
files="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2 gnupg-${version}.tar.bz2 84c1ef39e8621cfb70f31463a5d1d8edeab44332bc1e0e1af9b78b6f9ed05bb4"
auth_type=sha256
depends="libiconv libgpg-error libgcrypt libksba libassuan npth ntbtls"
depends=("libiconv" "libgpg-error" "libgcrypt" "libksba" "libassuan" "npth" "ntbtls")
pre_configure() {
export GPGRT_CONFIG="${SERENITY_INSTALL_ROOT}/usr/local/bin/gpgrt-config"
@ -19,5 +19,5 @@ pre_configure() {
}
configure() {
run ./configure --host="${SERENITY_ARCH}-pc-serenity" --build="$($workdir/build-aux/config.guess)" $configopts
run ./configure --host="${SERENITY_ARCH}-pc-serenity" --build="$($workdir/build-aux/config.guess)" "${configopts[@]}"
}