lua: cross build and dbg support.
This commit is contained in:
parent
91f3b41798
commit
c3f7092efc
1 changed files with 11 additions and 10 deletions
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'lua'
|
||||
pkgname=lua
|
||||
version=5.1.5
|
||||
revision=2
|
||||
patch_args="-Np1"
|
||||
distfiles="http://www.lua.org/ftp/$pkgname-$version.tar.gz"
|
||||
makedepends="ncurses-devel readline-devel"
|
||||
revision=1
|
||||
crossmakedepends="${makedepends}"
|
||||
short_desc="Lua is a powerful, fast, lightweight, embeddable scripting language."
|
||||
maintainer="Robert Djubek <envy1988@gmail.com>"
|
||||
homepage="http://www.lua.org"
|
||||
|
@ -20,10 +21,10 @@ rapid prototyping."
|
|||
|
||||
subpackages="lua-devel"
|
||||
|
||||
|
||||
do_build() {
|
||||
export CFLAGS="$XBPS_CFLAGS -fPIC"
|
||||
make INSTALL_DATA="cp -d" LUA_SO=liblua.so ${makejobs} linux
|
||||
export CFLAGS="$CFLAGS -fPIC"
|
||||
make CC="$CC" RANLIB="$RANLIB" \
|
||||
INSTALL_DATA="cp -d" LUA_SO=liblua.so ${makejobs} linux
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in a new issue