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,29 +1,30 @@
|
||||||
# Template file for 'lua'
|
# Template file for 'lua'
|
||||||
pkgname=lua
|
pkgname=lua
|
||||||
version=5.1.5
|
version=5.1.5
|
||||||
|
revision=2
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
distfiles="http://www.lua.org/ftp/$pkgname-$version.tar.gz"
|
distfiles="http://www.lua.org/ftp/$pkgname-$version.tar.gz"
|
||||||
makedepends="ncurses-devel readline-devel"
|
makedepends="ncurses-devel readline-devel"
|
||||||
revision=1
|
crossmakedepends="${makedepends}"
|
||||||
short_desc="Lua is a powerful, fast, lightweight, embeddable scripting language."
|
short_desc="Lua is a powerful, fast, lightweight, embeddable scripting language."
|
||||||
maintainer="Robert Djubek <envy1988@gmail.com>"
|
maintainer="Robert Djubek <envy1988@gmail.com>"
|
||||||
homepage="http://www.lua.org"
|
homepage="http://www.lua.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
checksum=2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333
|
checksum=2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333
|
||||||
long_desc="
|
long_desc="
|
||||||
Lua combines simple procedural syntax with powerful data description
|
Lua combines simple procedural syntax with powerful data description
|
||||||
constructs based on associative arrays and extensible semantics. Lua
|
constructs based on associative arrays and extensible semantics. Lua
|
||||||
is dynamically typed, runs by interpreting bytecode for a register-based
|
is dynamically typed, runs by interpreting bytecode for a register-based
|
||||||
virtual machine, and has automatic memory management with incremental
|
virtual machine, and has automatic memory management with incremental
|
||||||
garbage collection, making it ideal for configuration, scripting, and
|
garbage collection, making it ideal for configuration, scripting, and
|
||||||
rapid prototyping."
|
rapid prototyping."
|
||||||
|
|
||||||
subpackages="lua-devel"
|
subpackages="lua-devel"
|
||||||
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
export CFLAGS="$XBPS_CFLAGS -fPIC"
|
export CFLAGS="$CFLAGS -fPIC"
|
||||||
make INSTALL_DATA="cp -d" LUA_SO=liblua.so ${makejobs} linux
|
make CC="$CC" RANLIB="$RANLIB" \
|
||||||
|
INSTALL_DATA="cp -d" LUA_SO=liblua.so ${makejobs} linux
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in a new issue