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