summaryrefslogtreecommitdiff
path: root/chunks/lua.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/lua.morph
parent519294adf840fd3981a9aafc7744d3fe66301c68 (diff)
downloaddefinitions-aa85df216ef454a47f2d6d027fcec2400d1083e3.tar.gz
Add chunk morphologies to the definitions repository
Diffstat (limited to 'chunks/lua.morph')
-rw-r--r--chunks/lua.morph14
1 files changed, 14 insertions, 0 deletions
diff --git a/chunks/lua.morph b/chunks/lua.morph
new file mode 100644
index 00000000..2fbc4262
--- /dev/null
+++ b/chunks/lua.morph
@@ -0,0 +1,14 @@
+name: lua
+kind: chunk
+repo: upstream:lua
+ref: bedbdc0f03bca4fe97200ddf9c3d6cb210b45888
+unpetrify-ref: baserock/5.1-morph
+configure-commands:
+- sed -e 's/defined(LUA_USE_READLINE)/0/g' src/luaconf.h.orig >src/luaconf.h
+- sed -i -e '/^linux:/{n;s/-lreadline//g;s/-lhistory//g;s/-lncurses//g}' src/Makefile
+build-commands:
+- make debian_linux INSTALL_TOP="$PREFIX" RPATH="$PREFIX/lib"
+install-commands:
+- make INSTALL_TOP="$DESTDIR/$PREFIX" debian_install
+- mkdir -p $DESTDIR/$PREFIX/lib/pkgconfig
+- cp lua5.1.pc $DESTDIR/$PREFIX/lib/pkgconfig/