diff options
Diffstat (limited to 'repo/system/re2/re2.xibuild')
-rw-r--r-- | repo/system/re2/re2.xibuild | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/system/re2/re2.xibuild b/repo/system/re2/re2.xibuild new file mode 100644 index 0000000..4dd0e5d --- /dev/null +++ b/repo/system/re2/re2.xibuild @@ -0,0 +1,18 @@ +#!/bin/sh + +NAME="re2" +DESC="Efficient, principled regular expression library" + +MAKEDEPS="make " +DEPS="musl " + +PKG_VER=2022.04.01 +SOURCE="https://github.com/google/re2/archive/$(echo $PKG_VER | sed "s/\./-/g").tar.gz" + +build () { + make PREFIX=/usr +} + +package () { + make PREFIX=/usr DESTDIR=$PKG_DEST install +} |