summaryrefslogtreecommitdiff
path: root/chunks/lrexlib-pcre.morph
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-14 16:02:36 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-14 16:13:23 +0000
commitaa85df216ef454a47f2d6d027fcec2400d1083e3 (patch)
treeeb238277d6e9f1c7be5d99043d507d9c0e5961ff /chunks/lrexlib-pcre.morph
parent519294adf840fd3981a9aafc7744d3fe66301c68 (diff)
downloaddefinitions-aa85df216ef454a47f2d6d027fcec2400d1083e3.tar.gz
Add chunk morphologies to the definitions repository
Diffstat (limited to 'chunks/lrexlib-pcre.morph')
-rw-r--r--chunks/lrexlib-pcre.morph13
1 files changed, 13 insertions, 0 deletions
diff --git a/chunks/lrexlib-pcre.morph b/chunks/lrexlib-pcre.morph
new file mode 100644
index 00000000..57dedee3
--- /dev/null
+++ b/chunks/lrexlib-pcre.morph
@@ -0,0 +1,13 @@
+name: lrexlib-pcre
+kind: chunk
+description: Lua regular expression library - PCRE build only
+repo: upstream:lrexlib
+ref: da8a015f9e0192c47552313c981a574ff41a6b88
+unpetrify-ref: baserock/morph
+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/
+build-system: manual