summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lrexlib-pcre.morph10
1 files changed, 10 insertions, 0 deletions
diff --git a/lrexlib-pcre.morph b/lrexlib-pcre.morph
new file mode 100644
index 0000000..7558c87
--- /dev/null
+++ b/lrexlib-pcre.morph
@@ -0,0 +1,10 @@
+kind: chunk
+name: lrexlib-pcre
+description: Lua regular expression library - PCRE build only
+buildsystem: manual
+build-commands:
+ - gcc -fPIC -DPIC -DVERSION=\"2.7.2\" -o rex_pcre.so -shared src/common.c src/pcre/lpcre.c src/pcre/lpcre_f.c -lpcre
+install-commands:
+ - mkdir -p $DESTDIR/usr/lib/lua/5.1/
+ - cp rex_pcre.so $DESTDIR/usr/lib/lua/5.1/
+