enables cxx support in libgnutls

This commit is contained in:
its-pointless 2018-04-10 08:31:58 +10:00 committed by Leonid Pliushch
parent 7ed7151018
commit 2e4b724c4c
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -0,0 +1,3 @@
TERMUX_SUBPKG_INCLUDE="lib/libgnutlsxx.so"
TERMUX_SUBPKG_DESCRIPTION="libgnutls c++ library"
TERMUX_SUBPKG_DEPENDS="libgnutls"