From 2e4b724c4c11fca880ed4e3f478f535d5b2b211f Mon Sep 17 00:00:00 2001 From: its-pointless Date: Tue, 10 Apr 2018 08:31:58 +1000 Subject: [PATCH] enables cxx support in libgnutls --- packages/libgnutls/build.sh | 6 +++--- packages/libgnutls/libgnutlsxx.subpackage.sh | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 packages/libgnutls/libgnutlsxx.subpackage.sh diff --git a/packages/libgnutls/build.sh b/packages/libgnutls/build.sh index bf51721ab..0a7e3b781 100644 --- a/packages/libgnutls/build.sh +++ b/packages/libgnutls/build.sh @@ -3,12 +3,12 @@ TERMUX_PKG_DESCRIPTION="Secure communications library implementing the SSL, TLS TERMUX_PKG_LICENSE="LGPL-2.1" TERMUX_PKG_DEPENDS="libgmp, libnettle, ca-certificates, libidn2, libunistring" TERMUX_PKG_VERSION=3.6.8 -TERMUX_PKG_REVISION=1 -TERMUX_PKG_SHA256=aa81944e5635de981171772857e72be231a7e0f559ae0292d2737de475383e83 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://www.gnupg.org/ftp/gcrypt/gnutls/v${TERMUX_PKG_VERSION:0:3}/gnutls-${TERMUX_PKG_VERSION}.tar.xz +TERMUX_PKG_SHA256=aa81944e5635de981171772857e72be231a7e0f559ae0292d2737de475383e83 TERMUX_PKG_DEVPACKAGE_DEPENDS="libidn2-dev, libnettle-dev" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" ---disable-cxx +--enable-cxx --disable-hardware-acceleration --disable-openssl-compatibility --with-default-trust-store-file=$TERMUX_PREFIX/etc/tls/cert.pem diff --git a/packages/libgnutls/libgnutlsxx.subpackage.sh b/packages/libgnutls/libgnutlsxx.subpackage.sh new file mode 100644 index 000000000..6d9fd6fe3 --- /dev/null +++ b/packages/libgnutls/libgnutlsxx.subpackage.sh @@ -0,0 +1,3 @@ +TERMUX_SUBPKG_INCLUDE="lib/libgnutlsxx.so" +TERMUX_SUBPKG_DESCRIPTION="libgnutls c++ library" +TERMUX_SUBPKG_DEPENDS="libgnutls"