blob: 32aeb5c1f445731f77195fda57bf08e134c13626 (
plain)
1
2
3
4
5
6
7
8
9
10
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/"
|