mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
50758181a3
This commit updates the formatting for all ports to be updated in this PR in one go, to keep those changes centralized.
38 lines
1.2 KiB
Bash
Executable file
38 lines
1.2 KiB
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port='gnupg'
|
|
version='2.3.0'
|
|
useconfigure='true'
|
|
use_fresh_config_sub='true'
|
|
config_sub_paths=(
|
|
'build-aux/config.sub'
|
|
)
|
|
files=(
|
|
"https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2#84c1ef39e8621cfb70f31463a5d1d8edeab44332bc1e0e1af9b78b6f9ed05bb4"
|
|
)
|
|
depends=(
|
|
'libassuan'
|
|
'libgcrypt'
|
|
'libgpg-error'
|
|
'libiconv'
|
|
'libksba'
|
|
'npth'
|
|
'ntbtls'
|
|
)
|
|
|
|
pre_configure() {
|
|
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 -ldl"
|
|
}
|
|
|
|
configure() {
|
|
run ./configure \
|
|
--host="${SERENITY_ARCH}-pc-serenity" \
|
|
--build="$("${workdir}/build-aux/config.guess")" \
|
|
--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
|
|
}
|