pcre2: Add package
[termux-packages] / packages / libgcrypt / build.sh
index e81cd5a..e3c30d2 100755 (executable)
@@ -1,11 +1,16 @@
 TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/libgcrypt/
 TERMUX_PKG_DESCRIPTION="General purpose cryptographic library based on the code from GnuPG"
-TERMUX_PKG_VERSION=1.7.8
+TERMUX_PKG_VERSION=1.8.1
+TERMUX_PKG_REVISION=2
+TERMUX_PKG_SHA256=7a2875f8b1ae0301732e878c0cca2c9664ff09ef71408f085c50e332656a78b3
 TERMUX_PKG_SRCURL=https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${TERMUX_PKG_VERSION}.tar.bz2
-TERMUX_PKG_SHA256=948276ea47e6ba0244f36a17b51dcdd52cfd1e664b0a1ac3bc82134fb6cec199
 TERMUX_PKG_DEPENDS="libgpg-error"
+TERMUX_PKG_DEVPACKAGE_DEPENDS="libgpg-error-dev"
 # configure tries to detect pthreads by linking with -lpthread, which does not exist on Android:
-TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_pthread_pthread_create=yes"
+TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
+ac_cv_lib_pthread_pthread_create=yes
+--disable-jent-support
+"
 
 termux_step_pre_configure () {
        # libgcrypt uses syslog, which we redirect to android logging: