diff options
Diffstat (limited to 'repo/system/pcre.xibuild')
-rw-r--r-- | repo/system/pcre.xibuild | 19 |
1 files changed, 19 insertions, 0 deletions
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 +} + + |