summaryrefslogtreecommitdiff
path: root/Ports/gnupg
diff options
context:
space:
mode:
authorPanagiotis Vasilopoulos <hello@alwayslivid.com>2021-04-20 18:42:04 +0300
committerLinus Groh <mail@linusgroh.de>2021-04-20 18:20:00 +0200
commit492f7132d297edc66efdad5a87135bbcef608c8b (patch)
treebaa5ecd698ed247ea4342881e2121d8604a2adc5 /Ports/gnupg
parent139288b071098fc0e2127800e4b18194a8f4035b (diff)
downloadserenity-492f7132d297edc66efdad5a87135bbcef608c8b.zip
Ports: Improve consistency and quality of ports
- Replaced /Root with - Improved documentation. - Removed a few typos. - Replaced with - Added brackets in some cases. Most of the changes were reviewed and applied manually.
Diffstat (limited to 'Ports/gnupg')
-rwxr-xr-xPorts/gnupg/package.sh16
1 files changed, 8 insertions, 8 deletions
diff --git a/Ports/gnupg/package.sh b/Ports/gnupg/package.sh
index 120e0bcac6..410700531e 100755
--- a/Ports/gnupg/package.sh
+++ b/Ports/gnupg/package.sh
@@ -2,20 +2,20 @@
port=gnupg
version=2.3.0
useconfigure=true
-configopts="--with-libgpg-error-prefix=${SERENITY_BUILD_DIR}/Root/usr/local \
- --with-libgcrypt-prefix=${SERENITY_BUILD_DIR}/Root/usr/local \
- --with-libassuan-prefix=${SERENITY_BUILD_DIR}/Root/usr/local \
- --with-ntbtls-prefix=${SERENITY_BUILD_DIR}/Root/usr/local \
- --with-npth-prefix=${SERENITY_BUILD_DIR}/Root/usr/local \
+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"
pre_configure() {
- export GPGRT_CONFIG="${SERENITY_BUILD_DIR}/Root/usr/local/bin/gpgrt-config"
- export CFLAGS="-L${SERENITY_BUILD_DIR}/Root/usr/local/include"
- export LDFLAGS="-L${SERENITY_BUILD_DIR}/Root/usr/local/lib -lm -liconv"
+ export GPGRT_CONFIG="${SERENITY_INSTALL_ROOT}/usr/local/bin/gpgrt-config"
+ export CFLAGS="-L${SERENITY_INSTALL_ROOT}/usr/local/include"
+ export LDFLAGS="-L${SERENITY_INSTALL_ROOT}/usr/local/lib -lm -liconv"
}
configure() {