diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 01:23:51 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 01:23:51 +0000 |
commit | cb447620084a20be80d116c81c2e9ec110be7118 (patch) | |
tree | 9fc0d714abbb5c6326b60616a5fd27ec9f984895 /repo/system/pcre.xibuild | |
parent | 153011e9129c6055ef21c48caf65a23e74a91418 (diff) |
restructured repo system
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 +} + + |