1 # Description: A programming language designed for extending applications
2 # URL: http://www.lua.org
3 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
9 source=(http://www.lua.org/ftp/$name-5.1.4.tar.gz \
10 http://www.lua.org/ftp/patch-lua-5.1.4-3 \
16 export CFLAGS="$CFLAGS -fPIC"
17 patch -d src -p0 -i $SRC/patch-lua-5.1.4-3
18 patch -Np1 -i $SRC/$name.diff
21 make INSTALL_TOP=$PKG/usr install
23 install -D -m 0644 etc/lua.pc $PKG/usr/lib/pkgconfig/lua.pc