diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2016-10-30 16:28:31 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2016-11-11 17:36:41 +0900 |
commit | 6cb5b32227de1043933fed3542e70bc3c64f59c3 (patch) | |
tree | 5fd8396053cebe86e913391671d905b2c4c2c5ce /trove/strata/trove/lua.morph | |
parent | 3dcb1a2d6f541449ba7d5192c7db9e09204a799b (diff) | |
download | definitions-6cb5b32227de1043933fed3542e70bc3c64f59c3.tar.gz |
Move trove & mason related systems, clusters and strata to a new trove subdirectory
Change-Id: Id71531000851293c2be834360ff543399cda3989
Diffstat (limited to 'trove/strata/trove/lua.morph')
-rw-r--r-- | trove/strata/trove/lua.morph | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/trove/strata/trove/lua.morph b/trove/strata/trove/lua.morph new file mode 100644 index 00000000..32aeb5c1 --- /dev/null +++ b/trove/strata/trove/lua.morph @@ -0,0 +1,11 @@ +name: lua +kind: chunk +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/" |