2021-04-14 02:32:19 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2023-09-01 13:27:50 +00:00
|
|
|
port='libassuan'
|
2024-03-12 11:46:01 +00:00
|
|
|
version='2.5.7'
|
2023-09-01 13:27:50 +00:00
|
|
|
useconfigure='true'
|
|
|
|
use_fresh_config_sub='true'
|
|
|
|
config_sub_paths=(
|
|
|
|
'build-aux/config.sub'
|
|
|
|
)
|
|
|
|
depends=(
|
|
|
|
'libgpg-error'
|
|
|
|
)
|
2023-07-10 11:10:29 +00:00
|
|
|
files=(
|
2024-03-12 11:46:01 +00:00
|
|
|
"https://gnupg.org/ftp/gcrypt/libassuan/libassuan-${version}.tar.bz2#0103081ffc27838a2e50479153ca105e873d3d65d8a9593282e9c94c7e6afb76"
|
2023-07-10 11:10:29 +00:00
|
|
|
)
|
2021-04-14 02:32:19 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
2023-09-01 13:27:50 +00:00
|
|
|
export ac_cv_lib_pthread_pthread_create='no'
|
2021-04-14 02:32:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
configure() {
|
2023-09-01 13:27:50 +00:00
|
|
|
run ./configure \
|
|
|
|
--host="${SERENITY_ARCH}-pc-serenity" \
|
|
|
|
--build="$("${workdir}/build-aux/config.guess")" \
|
|
|
|
--disable-static \
|
|
|
|
--enable-shared \
|
2023-09-01 18:22:38 +00:00
|
|
|
--with-libgpg-error-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
|
|
|
|
--with-sysroot="${SERENITY_INSTALL_ROOT}"
|
2021-05-19 19:46:22 +00:00
|
|
|
}
|