serenity/Ports/libgcrypt/package.sh

27 lines
693 B
Bash
Raw Normal View History

2021-04-14 04:33:01 +02:00
#!/usr/bin/env -S bash ../.port_include.sh
port='libgcrypt'
version='1.10.2'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=(
'build-aux/config.sub'
)
depends=(
'libgpg-error'
)
2023-07-10 13:10:29 +02:00
files=(
"https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2#3b9c02a004b68c256add99701de00b383accccf37177e0d6c58289664cce0c03"
2023-07-10 13:10:29 +02:00
)
2021-04-14 04:33:01 +02:00
pre_configure() {
export ac_cv_lib_pthread_pthread_create='no'
2021-04-14 04:33:01 +02:00
}
configure() {
run ./configure \
--host="${SERENITY_ARCH}-pc-serenity" \
--build="$("${workdir}/build-aux/config.guess")" \
--with-libgpg-error-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
--with-sysroot="${SERENITY_INSTALL_ROOT}"
2021-04-14 04:33:01 +02:00
}