Change configuration file Format of mpv so we can more easily add settings and comments
[termux-packages] / packages / libgnutls / build.sh
... / ...
CommitLineData
1TERMUX_PKG_HOMEPAGE=https://www.gnutls.org/
2TERMUX_PKG_DESCRIPTION="Secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them"
3TERMUX_PKG_DEPENDS="libgmp, libnettle, ca-certificates, libidn, libunistring"
4_TERMUX_PKG_MAJOR_VERSION=3.5
5TERMUX_PKG_VERSION=${_TERMUX_PKG_MAJOR_VERSION}.14
6TERMUX_PKG_SRCURL=ftp://ftp.gnutls.org/gcrypt/gnutls/v${_TERMUX_PKG_MAJOR_VERSION}/gnutls-${TERMUX_PKG_VERSION}.tar.xz
7TERMUX_PKG_SHA256=4aa12dec92f42a0434df794aca3d02f6f2a35b47b48c01252de65f355c051bda
8TERMUX_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
17termux_step_pre_configure() {
18 CFLAGS+=" -std=c99"
19}