summaryrefslogtreecommitdiff
path: root/strata/trove/lua.def
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2014-11-19 16:09:07 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2014-11-19 16:09:07 +0000
commit53c7140bfe3317abeeaa85fc2f72cc8d9b052355 (patch)
tree7f02dd4c306b5619988b87b9a2a5cf28a5fcd02b /strata/trove/lua.def
parente3e0baf91a5f0e1bcd1fad06345bbe4ec88fad1d (diff)
downloaddefinitions-53c7140bfe3317abeeaa85fc2f72cc8d9b052355.tar.gz
After morph-converter.shbaserock/ps/simple-defs
Diffstat (limited to 'strata/trove/lua.def')
-rw-r--r--strata/trove/lua.def10
1 files changed, 10 insertions, 0 deletions
diff --git a/strata/trove/lua.def b/strata/trove/lua.def
new file mode 100644
index 00000000..b04c2b63
--- /dev/null
+++ b/strata/trove/lua.def
@@ -0,0 +1,10 @@
+name: lua
+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/"