summaryrefslogtreecommitdiff
path: root/repo/system/pcre2
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/pcre2')
-rw-r--r--repo/system/pcre2/pcre2.xibuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/repo/system/pcre2/pcre2.xibuild b/repo/system/pcre2/pcre2.xibuild
new file mode 100644
index 0000000..46e35e9
--- /dev/null
+++ b/repo/system/pcre2/pcre2.xibuild
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+MAKEDEPS="make "
+DEPS="musl readline zlib bzip2 sh"
+
+PKG_VER=10.39
+SOURCE=https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$PKG_VER/pcre2-$PKG_VER.tar.gz
+DESC="A library that implements regular expressions in a perl style"
+
+build () {
+ CC=gcc ./configure --prefix=/usr --enable-utf --enable-unicode-properties
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}
+
+