diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-14 12:22:53 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-04-14 12:22:53 +0000 |
commit | 0ce6de7adbd5fe6b268e1b8a1422cdfeb7cdebf5 (patch) | |
tree | da8498e1eab2464b06117337cb0b7c87322e6ed1 /chunks/trove-lua.morph | |
parent | 10dda889872542b8f261555c139791ff34eec9b1 (diff) | |
download | definitions-0ce6de7adbd5fe6b268e1b8a1422cdfeb7cdebf5.tar.gz |
Add chunk morphologies to definitions repositorybaserock/adamcoldrick/chunks-in-definitions-by-kind
Diffstat (limited to 'chunks/trove-lua.morph')
-rw-r--r-- | chunks/trove-lua.morph | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chunks/trove-lua.morph b/chunks/trove-lua.morph new file mode 100644 index 00000000..6c76b615 --- /dev/null +++ b/chunks/trove-lua.morph @@ -0,0 +1,13 @@ +name: lua +kind: chunk +repo: upstream:lua +ref: bedbdc0f03bca4fe97200ddf9c3d6cb210b45888 +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/ |