termux-packages/packages/libgnutls/build.sh

18 lines
866 B
Bash
Raw Normal View History

2016-12-09 22:35:24 +01:00
TERMUX_PKG_HOMEPAGE=https://www.gnutls.org/
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="LGPL-2.1"
2018-06-20 03:06:03 +02:00
TERMUX_PKG_DEPENDS="libgmp, libnettle, ca-certificates, libidn2, libunistring"
2019-01-20 19:19:05 +01:00
TERMUX_PKG_VERSION=3.6.5
TERMUX_PKG_SHA256=073eced3acef49a3883e69ffd5f0f0b5f46e2760ad86eddc6c0866df4e7abb35
TERMUX_PKG_SRCURL=https://www.gnupg.org/ftp/gcrypt/gnutls/v${TERMUX_PKG_VERSION:0:3}/gnutls-${TERMUX_PKG_VERSION}.tar.xz
2018-06-20 03:06:03 +02:00
TERMUX_PKG_DEVPACKAGE_DEPENDS="libidn2-dev, libnettle-dev"
2017-07-07 12:23:00 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-cxx
--disable-hardware-acceleration
--disable-openssl-compatibility
--with-default-trust-store-file=$TERMUX_PREFIX/etc/tls/cert.pem
--with-system-priority-file=${TERMUX_PREFIX}/etc/gnutls/default-priorities
2017-07-07 12:23:00 +02:00
--with-included-libtasn1
--without-p11-kit
"