1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:17:34 +00:00

Ports: Add libgpg-error port

This commit is contained in:
Gunnar Beutner 2021-04-14 04:32:34 +02:00 committed by Andreas Kling
parent c3aac8cbe7
commit 45f1170691
6 changed files with 70 additions and 0 deletions

14
Ports/libgpg-error/package.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=libgpg-error
version=1.42
useconfigure=true
configopts="--disable-tests --disable-threads"
files="https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${version}.tar.bz2 libgpg-error-${version}.tar.bz2"
pre_configure() {
export gcry_cv_gcc_has_f_visibility=no
}
configure() {
run ./configure --host="${SERENITY_ARCH}-pc-serenity" --build="$($workdir/build-aux/config.guess)" $configopts
}