From cb447620084a20be80d116c81c2e9ec110be7118 Mon Sep 17 00:00:00 2001
From: davidovski <david@davidovski.xyz>
Date: Sun, 16 Jan 2022 01:23:51 +0000
Subject: restructured repo system

---
 repo/system/pcre.xibuild | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 repo/system/pcre.xibuild

(limited to 'repo/system/pcre.xibuild')

diff --git a/repo/system/pcre.xibuild b/repo/system/pcre.xibuild
new file mode 100644
index 0000000..facf5fe
--- /dev/null
+++ b/repo/system/pcre.xibuild
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+DEPS=(glibc)
+
+SOURCE=https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.39/pcre2-10.39.tar.bz2
+DESC="A library that implements regular expressions in a perl style"
+
+build () {
+    CC=gcc ./configure --prefix=/usr 
+    make
+    make DESTDIR=$PKG_DEST install
+}
+
+package () {
+    # this probably is not right but it works for now
+    ln $PKG_DEST/usr/lib/libpcre2-8.so $PKG_DEST/usr/lib/libpcre.so.1
+}
+
+
-- 
cgit v1.2.1