1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 06:47:35 +00:00

Ports: Add libassuan port

This commit is contained in:
Gunnar Beutner 2021-04-14 04:32:19 +02:00 committed by Andreas Kling
parent 700cad4508
commit c3aac8cbe7
5 changed files with 55 additions and 0 deletions

15
Ports/libassuan/package.sh Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=libassuan
version=2.5.5
useconfigure=true
#configopts="--with-libgpg-error-prefix=${SERENITY_BUILD_DIR}/Root/usr/local"
files="https://gnupg.org/ftp/gcrypt/libassuan/libassuan-${version}.tar.bz2 libassuan-${version}.tar.bz2"
pre_configure() {
export gcry_cv_gcc_has_f_visibility=no
export ac_cv_lib_pthread_pthread_create=no
}
configure() {
run ./configure --host="${SERENITY_ARCH}-pc-serenity" --build="$($workdir/build-aux/config.guess)" $configopts
}