lua: update to 5.1.5.

This commit is contained in:
Juan RP 2012-02-22 05:40:52 +01:00
parent 452bf64566
commit 63242fe49d

View file

@ -1,14 +1,13 @@
# Template file for 'lua' # Template file for 'lua'
pkgname=lua pkgname=lua
version=5.1.4 version=5.1.5
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"
revision=1
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=b038e225eaf2a5b57c9bcc35cd13aa8c6c8288ef493d52970c9545074098af3a 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
@ -22,14 +21,12 @@ subpackages="lua-devel"
Add_dependency build ncurses-devel Add_dependency build ncurses-devel
Add_dependency build readline-devel Add_dependency build readline-devel
do_build() do_build() {
{
export CFLAGS="$XBPS_CFLAGS -fPIC" export CFLAGS="$XBPS_CFLAGS -fPIC"
make INSTALL_DATA="cp -d" LUA_SO=liblua.so ${makejobs} linux make INSTALL_DATA="cp -d" LUA_SO=liblua.so ${makejobs} linux
} }
do_install() do_install() {
{
make INSTALL_DATA="cp -d" INSTALL_TOP="${DESTDIR}/usr" \ make INSTALL_DATA="cp -d" INSTALL_TOP="${DESTDIR}/usr" \
TO_LIB="liblua.a liblua.so liblua.so.5.1" \ TO_LIB="liblua.a liblua.so liblua.so.5.1" \
INSTALL_MAN="${DESTDIR}/usr/share/man/man1" install INSTALL_MAN="${DESTDIR}/usr/share/man/man1" install