diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2021-04-14 04:33:01 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-14 13:13:06 +0200 |
commit | ba5710871bb112e2a08c9827f74eda7a69bfd2ea (patch) | |
tree | 1c25672b9f0b08357a6ba0ebbc6e2bf4c6c7c273 /Ports/libgcrypt/package.sh | |
parent | 3cfc05fb8a369bdd28728ca3f66c993f342c5124 (diff) | |
download | serenity-ba5710871bb112e2a08c9827f74eda7a69bfd2ea.zip |
Ports: Add libgcrypt port
Diffstat (limited to 'Ports/libgcrypt/package.sh')
-rwxr-xr-x | Ports/libgcrypt/package.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Ports/libgcrypt/package.sh b/Ports/libgcrypt/package.sh new file mode 100755 index 0000000000..33bb1c6b02 --- /dev/null +++ b/Ports/libgcrypt/package.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=libgcrypt +version=1.9.2 +useconfigure=true +configopts="--with-libgpg-error-prefix=${SERENITY_BUILD_DIR}/Root/usr/local" +files="https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2 libgcrypt-${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 +} |