From 9ca7afb06b30e4719ebe85c5d5fb4bcb9c17d1b8 Mon Sep 17 00:00:00 2001 From: its-pointless Date: Tue, 10 Apr 2018 08:10:02 +1000 Subject: [PATCH] pcre: enable c++ --- packages/pcre/build.sh | 6 +++--- packages/pcre/pcrecpp.subpackage.sh | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 packages/pcre/pcrecpp.subpackage.sh diff --git a/packages/pcre/build.sh b/packages/pcre/build.sh index 3f81585b6..df2095d02 100644 --- a/packages/pcre/build.sh +++ b/packages/pcre/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.pcre.org TERMUX_PKG_DESCRIPTION="Library implementing regular expression pattern matching using the same syntax and semantics as Perl 5" TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_VERSION=8.43 -TERMUX_PKG_SHA256=91e762520003013834ac1adb4a938d53b22a216341c061b0cf05603b290faf6b -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://ftp.pcre.org/pub/pcre/pcre-${TERMUX_PKG_VERSION}.tar.bz2 +TERMUX_PKG_SHA256=91e762520003013834ac1adb4a938d53b22a216341c061b0cf05603b290faf6b TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="bin/pcre-config" TERMUX_PKG_RM_AFTER_INSTALL="bin/pcregrep bin/pcretest share/man/man1/pcre*.1" -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-cpp --enable-jit --enable-utf8 --enable-unicode-properties" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-cpp --enable-jit --enable-utf8 --enable-unicode-properties" diff --git a/packages/pcre/pcrecpp.subpackage.sh b/packages/pcre/pcrecpp.subpackage.sh new file mode 100644 index 000000000..c1e96ac63 --- /dev/null +++ b/packages/pcre/pcrecpp.subpackage.sh @@ -0,0 +1,3 @@ +TERMUX_SUBPKG_INCLUDE="lib/libpcrecpp.so" +TERMUX_SUBPKG_DESCRIPTION="Library implementing regular expression pattern matching using the same syntax and semantics as Perl -- c++" +TERMUX_SUBPKG_DEPENDS="pcre"