diff options
author | tnut <tnut at nutyx dot com> | 2011-10-15 16:44:59 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2011-10-15 16:44:59 +0200 |
commit | 141b3503d5457bfea00a140b8efc78b30ee0c161 (patch) | |
tree | 47f3ec01ee7d1f57b877e8c490b020f40202e6f0 /extra/lua/Pkgfile | |
parent | 2257e4c2a3b0e675ded6b08f05a515b6e6a889de (diff) | |
download | nutyx-extra-141b3503d5457bfea00a140b8efc78b30ee0c161.tar.gz nutyx-extra-141b3503d5457bfea00a140b8efc78b30ee0c161.tar.bz2 nutyx-extra-141b3503d5457bfea00a140b8efc78b30ee0c161.tar.xz nutyx-extra-141b3503d5457bfea00a140b8efc78b30ee0c161.zip |
lua dans extra
Diffstat (limited to 'extra/lua/Pkgfile')
-rw-r--r-- | extra/lua/Pkgfile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/lua/Pkgfile b/extra/lua/Pkgfile new file mode 100644 index 000000000..f4a551275 --- /dev/null +++ b/extra/lua/Pkgfile @@ -0,0 +1,28 @@ +# $Id: build,v 1.9 2008/08/30 20:36:55 linda Exp root $ +# Description: A programming language designed for extending applications +# URL: http://www.lua.org +# Packager: Floreal Cabares, cabaflo at wanadoo dot fr +# Depends on: +# Run on: + +name=lua +version=5.1.4 +release=3 +source=(http://www.lua.org/ftp/$name-$version.tar.gz + lua-5.1.4-patch-lua.patch + lua-5.1.4-cflags.diff) + +build() { + cd $name-$version + patch < $SRC/lua-5.1.4-patch-lua.patch -d src + + [ `uname -i` == "x86_64" ] && patch -Np1 -i ../lua-5.1.4-cflags.diff + [ `uname -i` == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC" + + make linux + make INSTALL_TOP=$PKG/usr install + mv $PKG/usr/{man,share/man} + rm -r $PKG/usr/share/lua + install -D -m 0644 etc/lua.pc $PKG/usr/lib/pkgconfig/lua.pc +} + |