2021-04-13 22:33:01 -04:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2023-09-01 09:27:50 -04:00
|
|
|
port='libgcrypt'
|
2024-02-21 06:42:26 -05:00
|
|
|
version='1.10.3'
|
2023-09-01 09:27:50 -04:00
|
|
|
useconfigure='true'
|
|
|
|
use_fresh_config_sub='true'
|
|
|
|
config_sub_paths=(
|
|
|
|
'build-aux/config.sub'
|
|
|
|
)
|
|
|
|
depends=(
|
|
|
|
'libgpg-error'
|
|
|
|
)
|
2023-07-10 07:10:29 -04:00
|
|
|
files=(
|
2024-02-21 06:42:26 -05:00
|
|
|
"https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2#8b0870897ac5ac67ded568dcfadf45969cfa8a6beb0fd60af2a9eadc2a3272aa"
|
2023-07-10 07:10:29 -04:00
|
|
|
)
|
2021-04-13 22:33:01 -04:00
|
|
|
|
|
|
|
pre_configure() {
|
2023-09-01 09:27:50 -04:00
|
|
|
export ac_cv_lib_pthread_pthread_create='no'
|
2021-04-13 22:33:01 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
configure() {
|
2023-09-01 09:27:50 -04:00
|
|
|
run ./configure \
|
|
|
|
--host="${SERENITY_ARCH}-pc-serenity" \
|
|
|
|
--build="$("${workdir}/build-aux/config.guess")" \
|
2023-09-01 14:38:30 -04:00
|
|
|
--with-libgpg-error-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
|
|
|
|
--with-sysroot="${SERENITY_INSTALL_ROOT}"
|
2021-04-13 22:33:01 -04:00
|
|
|
}
|