Rebuild packages linking against libintl.so
[termux-packages] / packages / libgnutls / build.sh
1 TERMUX_PKG_HOMEPAGE=https://www.gnutls.org/
2 TERMUX_PKG_DESCRIPTION="Secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them"
3 TERMUX_PKG_DEPENDS="libgmp, libnettle, ca-certificates, libidn, libunistring"
4 _TERMUX_PKG_MAJOR_VERSION=3.5
5 TERMUX_PKG_VERSION=${_TERMUX_PKG_MAJOR_VERSION}.14
6 TERMUX_PKG_REVISION=1
7 TERMUX_PKG_SRCURL=ftp://ftp.gnutls.org/gcrypt/gnutls/v${_TERMUX_PKG_MAJOR_VERSION}/gnutls-${TERMUX_PKG_VERSION}.tar.xz
8 TERMUX_PKG_SHA256=4aa12dec92f42a0434df794aca3d02f6f2a35b47b48c01252de65f355c051bda
9 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
10 --disable-cxx
11 --disable-hardware-acceleration
12 --disable-openssl-compatibility
13 --with-default-trust-store-file=$TERMUX_PREFIX/etc/tls/cert.pem
14 --with-included-libtasn1
15 --without-p11-kit
16 "
17
18 termux_step_pre_configure() {
19 CFLAGS+=" -std=c99"
20 }