mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:27:35 +00:00
Ports: Add libgcrypt port
This commit is contained in:
parent
3cfc05fb8a
commit
ba5710871b
3 changed files with 28 additions and 0 deletions
15
Ports/libgcrypt/package.sh
Executable file
15
Ports/libgcrypt/package.sh
Executable file
|
@ -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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue