#!/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 }