2007-04-09 21:32:46 +02:00
|
|
|
# Description: A programming language designed for extending applications
|
|
|
|
# URL: http://www.lua.org
|
|
|
|
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
|
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
name=lua
|
2011-06-13 21:59:24 +02:00
|
|
|
version=5.1.4.3
|
2007-04-09 21:32:46 +02:00
|
|
|
release=1
|
2011-01-09 12:26:00 +01:00
|
|
|
source=(http://www.lua.org/ftp/$name-5.1.4.tar.gz \
|
2011-06-13 21:59:24 +02:00
|
|
|
http://www.lua.org/ftp/patch-lua-5.1.4-3 \
|
2007-04-09 21:32:46 +02:00
|
|
|
$name.diff)
|
|
|
|
|
|
|
|
build() {
|
2011-01-09 12:26:00 +01:00
|
|
|
cd $name-5.1.4
|
2007-04-09 21:32:46 +02:00
|
|
|
|
2011-06-13 21:59:24 +02:00
|
|
|
patch -d src -p0 -i $SRC/patch-lua-5.1.4-3
|
2007-04-09 21:32:46 +02:00
|
|
|
patch -Np1 -i $SRC/$name.diff
|
|
|
|
|
|
|
|
make linux
|
|
|
|
make INSTALL_TOP=$PKG/usr install
|
|
|
|
|
|
|
|
install -D -m 0644 etc/lua.pc $PKG/usr/lib/pkgconfig/lua.pc
|
|
|
|
}
|