diff options
author | Treeve Jelbert | 2015-06-15 13:26:49 +0200 |
---|---|---|
committer | Treeve Jelbert | 2015-06-15 13:27:21 +0200 |
commit | ec95fa9f5c42b0aa5993ccb5480d353329c36bd6 (patch) | |
tree | c2833f347b64db79d42339da2583ea4bf1f44927 | |
parent | c3a5a3d9398fd224540b9fadd6d32b88ed0096ab (diff) |
pcre2-10.10 new spell
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | libs/pcre2/BUILD | 7 | ||||
-rwxr-xr-x | libs/pcre2/CONFIGURE | 6 | ||||
-rwxr-xr-x | libs/pcre2/DEPENDS | 14 | ||||
-rwxr-xr-x | libs/pcre2/DETAILS | 17 | ||||
-rw-r--r-- | libs/pcre2/HISTORY | 3 | ||||
-rwxr-xr-x | libs/pcre2/PRE_SUB_DEPENDS | 6 | ||||
-rwxr-xr-x | libs/pcre2/SUB_DEPENDS | 6 | ||||
-rw-r--r-- | libs/pcre2/pcre.gpg | bin | 0 -> 1866 bytes |
9 files changed, 62 insertions, 0 deletions
@@ -1,3 +1,6 @@ +2015-06-15 Treeve Jelbert <treeve@sourcemage.org> + * libs/pcre2: added, Modernised pcre implementation + 2015-06-13 Treeve Jelbert <treeve@sourcemage.org> * telephony/telepathy.gpg: add 6B1195ED "Alexandr Akulich <akulichalexander@gmail.com>" diff --git a/libs/pcre2/BUILD b/libs/pcre2/BUILD new file mode 100755 index 0000000000..4624968f2e --- /dev/null +++ b/libs/pcre2/BUILD @@ -0,0 +1,7 @@ +OPTS="$JIT $PCRE8 $PCRE16 $PCRE32 $OPTS" && + +if [[ $BUILDUTF == n ]]; then + OPTS="$OPTS --disable-unicode" +fi && + +default_build diff --git a/libs/pcre2/CONFIGURE b/libs/pcre2/CONFIGURE new file mode 100755 index 0000000000..d3371ce0eb --- /dev/null +++ b/libs/pcre2/CONFIGURE @@ -0,0 +1,6 @@ +config_query BUILDUTF "Enable UTF support?" y + +config_query_option JIT "Enable JustInTime support" y "--enable-jit" "" +config_query_option PCRE8 "build 8-bit support" y "--enable-pcre2-8" "--disable-pcre2-8" +config_query_option PCRE16 "build 16-bit support" n "--enable-pcre2-16" "--disable-pcre2-16" +config_query_option PCRE32 "build 32-bit support" n "--enable-pcre2-32" "--disable-pcre2-32" diff --git a/libs/pcre2/DEPENDS b/libs/pcre2/DEPENDS new file mode 100755 index 0000000000..a6c5f30576 --- /dev/null +++ b/libs/pcre2/DEPENDS @@ -0,0 +1,14 @@ +depends smgl-fhs && +optional_depends zlib \ + '--enable-pcre2grep-libz' \ + '' \ + 'handle .gz files in pcre2grep' && + +optional_depends bzip2 \ + '--enable-pcre2grep-libbz2' \ + '' 'handle .bz2 files in pcre2grep' && + +optional_depends readline \ + '--enable-pcre2test-libreadline' \ + '' \ + 'use system readline' diff --git a/libs/pcre2/DETAILS b/libs/pcre2/DETAILS new file mode 100755 index 0000000000..3b94ecd56c --- /dev/null +++ b/libs/pcre2/DETAILS @@ -0,0 +1,17 @@ + SPELL=pcre2 + VERSION=10.10 + SOURCE=$SPELL-$VERSION.tar.bz2 + SOURCE2=$SOURCE.sig +SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION" + SOURCE_URL[0]=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$SOURCE + SOURCE2_URL[0]=$SOURCE_URL.sig + SOURCE2_IGNORE=signature + SOURCE_GPG=pcre.gpg:$SOURCE2:UPSTREAM_KEY + WEB_SITE=http://www.pcre.org/ + ENTERED=20150615 + LICENSE[0]=http://www.pcre.org/license.txt + KEYWORDS="perl libs" + SHORT="Modernised Perl Compatible Regular Expression library" +cat << EOF +PCRE2, a revised API for the PCRE library. +EOF diff --git a/libs/pcre2/HISTORY b/libs/pcre2/HISTORY new file mode 100644 index 0000000000..89dc0e2ec2 --- /dev/null +++ b/libs/pcre2/HISTORY @@ -0,0 +1,3 @@ +2015-05-03 Treeve Jelbert <treeve@sourcemage.org> + * DETAILS: version 8.37 + spell created, derived from pcre spell diff --git a/libs/pcre2/PRE_SUB_DEPENDS b/libs/pcre2/PRE_SUB_DEPENDS new file mode 100755 index 0000000000..5323a2d5fa --- /dev/null +++ b/libs/pcre2/PRE_SUB_DEPENDS @@ -0,0 +1,6 @@ +case "$THIS_SUB_DEPENDS" in + PCRE16) if [[ $PCRE16 == "--enable-pcre16" ]]; + then return 0; else return 1; fi ;; + CPP) is_depends_enabled $SPELL gcc ;; + *) echo "bogus sub_depends: pcre $THIS_SUB_DEPENDS"; return 1;; +esac diff --git a/libs/pcre2/SUB_DEPENDS b/libs/pcre2/SUB_DEPENDS new file mode 100755 index 0000000000..57ad977ea9 --- /dev/null +++ b/libs/pcre2/SUB_DEPENDS @@ -0,0 +1,6 @@ +case "$THIS_SUB_DEPENDS" in + PCRE16) message "pcre with 16-bit requested, forcing support" && + PCRE16="--enable-pcre16";; + CPP) depends -sub CXX gcc "--enable-cpp" ;; + *) echo "bogus sub_depends: pcre $THIS_SUB_DEPENDS"; return 1;; +esac diff --git a/libs/pcre2/pcre.gpg b/libs/pcre2/pcre.gpg Binary files differnew file mode 100644 index 0000000000..bd259c60d3 --- /dev/null +++ b/libs/pcre2/pcre.gpg |