diff options
Diffstat (limited to 'strata/trove/lua.def')
-rw-r--r-- | strata/trove/lua.def | 10 |
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/" |