2012-06-23 12:28:07 +02:00
|
|
|
# Description: A programming language designed for extending applications.
|
|
|
|
# URL: http://www.lua.org/
|
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
|
|
# Packager: Tilman Sauerbeck, tilman at crux dot nu
|
|
|
|
# Depends on: readline
|
2007-04-09 21:32:46 +02:00
|
|
|
|
|
|
|
name=lua
|
2012-06-23 12:44:35 +02:00
|
|
|
version=5.2.1
|
|
|
|
release=1
|
2012-06-23 12:28:07 +02:00
|
|
|
source=(http://www.lua.org/ftp/$name-$version.tar.gz
|
|
|
|
$name.diff)
|
2007-04-09 21:32:46 +02:00
|
|
|
|
|
|
|
build() {
|
2012-03-14 09:02:18 +01:00
|
|
|
cd $name-$version
|
2007-04-09 21:32:46 +02:00
|
|
|
|
|
|
|
patch -Np1 -i $SRC/$name.diff
|
|
|
|
|
|
|
|
make linux
|
|
|
|
make INSTALL_TOP=$PKG/usr install
|
|
|
|
|
2012-03-14 09:02:18 +01:00
|
|
|
make pc > lua.pc
|
|
|
|
install -D -m 0644 lua.pc $PKG/usr/lib/pkgconfig/lua.pc
|
2007-04-09 21:32:46 +02:00
|
|
|
}
|