2021-04-14 05:32:05 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=libksba
|
|
|
|
version=1.5.1
|
|
|
|
useconfigure=true
|
2022-01-08 16:32:29 +03:00
|
|
|
use_fresh_config_sub=true
|
2022-05-25 13:51:13 +03:00
|
|
|
config_sub_paths=("build-aux/config.sub")
|
2021-09-27 01:16:18 +03:00
|
|
|
depends=("libgpg-error")
|
2021-04-25 13:20:15 +03:00
|
|
|
files="https://gnupg.org/ftp/gcrypt/libksba/libksba-${version}.tar.bz2 libksba-${version}.tar.bz2 b0f4c65e4e447d9a2349f6b8c0e77a28be9531e4548ba02c545d1f46dc7bf921"
|
2023-04-09 03:11:14 +03:00
|
|
|
configopts=(
|
|
|
|
"--with-libgpg-error-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
|
|
|
|
)
|
2021-04-14 05:32:05 +03:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
export ksba_cv_gcc_has_f_visibility=no
|
|
|
|
}
|
|
|
|
|
|
|
|
configure() {
|
2021-09-27 01:16:18 +03:00
|
|
|
run ./configure --host="${SERENITY_ARCH}-pc-serenity" --build="$($workdir/build-aux/config.guess)" "${configopts[@]}"
|
2021-04-14 05:32:05 +03:00
|
|
|
}
|