picolisp: Update from 17.7.9 to 17.8.7
[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_SRCURL=ftp://ftp.gnutls.org/gcrypt/gnutls/v${_TERMUX_PKG_MAJOR_VERSION}/gnutls-${TERMUX_PKG_VERSION}.tar.xz
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 "
16
17 termux_step_pre_configure() {
18 CFLAGS+=" -std=c99"
19 }