1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-05 20:34:56 +00:00
serenity/Ports/libgpg-error/package.sh

25 lines
649 B
Bash
Raw Normal View History

2021-04-14 02:32:34 +00:00
#!/usr/bin/env -S bash ../.port_include.sh
port='libgpg-error'
2024-03-12 11:46:45 +00:00
version='1.48'
2023-07-10 11:10:29 +00:00
files=(
2024-03-12 11:46:45 +00:00
"https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${version}.tar.bz2#89ce1ae893e122924b858de84dc4f67aae29ffa610ebf668d5aa539045663d6f"
2023-07-10 11:10:29 +00:00
)
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=(
'build-aux/config.sub'
)
depends=(
'gettext'
)
2021-04-14 02:32:34 +00:00
configure() {
run ./configure \
--host="${SERENITY_ARCH}-pc-serenity" \
--build="$("${workdir}/build-aux/config.guess")" \
--with-sysroot="${SERENITY_INSTALL_ROOT}" \
--disable-tests \
--disable-threads \
--enable-install-gpg-error-config
2021-04-14 02:32:34 +00:00
}