diff options
Diffstat (limited to 'lua/lua.morph')
-rw-r--r-- | lua/lua.morph | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/lua.morph b/lua/lua.morph new file mode 100644 index 00000000..c7341e57 --- /dev/null +++ b/lua/lua.morph @@ -0,0 +1,13 @@ +name: lua/lua.morph +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/ |