1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 12:17:36 +00:00

Ports: Add ntbtls port

This commit is contained in:
Gunnar Beutner 2021-04-14 04:32:46 +02:00 committed by Andreas Kling
parent 45f1170691
commit 3cfc05fb8a
3 changed files with 27 additions and 0 deletions

14
Ports/ntbtls/package.sh Executable file
View file

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