aboutsummaryrefslogtreecommitdiff
path: root/extra/pcre2
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pcre2')
-rwxr-xr-xextra/pcre2/build12
-rw-r--r--extra/pcre2/checksums2
-rw-r--r--extra/pcre2/meta3
-rw-r--r--extra/pcre2/sources1
-rw-r--r--extra/pcre2/version1
5 files changed, 19 insertions, 0 deletions
diff --git a/extra/pcre2/build b/extra/pcre2/build
new file mode 100755
index 00000000..8ee17340
--- /dev/null
+++ b/extra/pcre2/build
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --enable-static \
+ --enable-jit
+
+make
+make DESTDIR="$1" install
+
+# Remove html docs
+rm -r "$1/usr/share/doc"
diff --git a/extra/pcre2/checksums b/extra/pcre2/checksums
new file mode 100644
index 00000000..524b4dba
--- /dev/null
+++ b/extra/pcre2/checksums
@@ -0,0 +1,2 @@
+%BLAKE3
+3d7c0c95ab3189289a396345733f208fe84d6f77a0f1edc3483fd6f5c34966e4 pcre2-10.40.tar.bz2
diff --git a/extra/pcre2/meta b/extra/pcre2/meta
new file mode 100644
index 00000000..8e795df6
--- /dev/null
+++ b/extra/pcre2/meta
@@ -0,0 +1,3 @@
+description: Perl Compatible Regular Expressions (2nd version)
+license: BSD-3-Clause
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/pcre2/sources b/extra/pcre2/sources
new file mode 100644
index 00000000..63e472ea
--- /dev/null
+++ b/extra/pcre2/sources
@@ -0,0 +1 @@
+https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.40/pcre2-10.40.tar.bz2
diff --git a/extra/pcre2/version b/extra/pcre2/version
new file mode 100644
index 00000000..059d7483
--- /dev/null
+++ b/extra/pcre2/version
@@ -0,0 +1 @@
+10.40 1