Commit | Line | Data |
---|---|---|
72c69110 | 1 | TERMUX_PKG_HOMEPAGE=https://www.gnutls.org/ |
59f0d218 | 2 | TERMUX_PKG_DESCRIPTION="Secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them" |
49037c2b | 3 | TERMUX_PKG_DEPENDS="libgmp, libnettle, ca-certificates, libidn, libunistring" |
94e72d7c | 4 | _TERMUX_PKG_MAJOR_VERSION=3.5 |
82e106ef | 5 | TERMUX_PKG_VERSION=${_TERMUX_PKG_MAJOR_VERSION}.14 |
5d0fc15b | 6 | TERMUX_PKG_SRCURL=ftp://ftp.gnutls.org/gcrypt/gnutls/v${_TERMUX_PKG_MAJOR_VERSION}/gnutls-${TERMUX_PKG_VERSION}.tar.xz |
82e106ef FF |
7 | TERMUX_PKG_SHA256=4aa12dec92f42a0434df794aca3d02f6f2a35b47b48c01252de65f355c051bda |
8 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | |
9 | --disable-cxx | |
10 | --disable-hardware-acceleration | |
11 | --disable-openssl-compatibility | |
12 | --with-default-trust-store-file=$TERMUX_PREFIX/etc/tls/cert.pem | |
13 | --with-included-libtasn1 | |
14 | --without-p11-kit | |
15 | " | |
59f0d218 | 16 | |
7ce56385 FF |
17 | termux_step_pre_configure() { |
18 | CFLAGS+=" -std=c99" | |
19 | } |