aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2022-09-19 15:10:56 +0200
committerCem Keylan <cem@ckyln.com>2022-09-19 15:10:56 +0200
commit10b20a4f54a82ad32cbbd37f57906c9869639815 (patch)
tree656dbd7302774b0f7958d0531730d407a960a9e8 /extra
parent3b86715034b87302c320b721de7ab5c405e19a78 (diff)
downloadrepository-10b20a4f54a82ad32cbbd37f57906c9869639815.tar.gz
pcre2: add new package at 10.40
Diffstat (limited to 'extra')
-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