diff options
author | sibel <lesibel@free.fr> | 2011-03-03 15:43:06 +0100 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-03-03 15:43:06 +0100 |
commit | 889126c0f5b64a423b48fbb9fa01acd741b20df0 (patch) | |
tree | d433b591211d7b5b29eed1c2bfb01a40d988e6f9 /base/lua/Pkgfile | |
parent | 9816b71e0287e4ea7b9652f6d7e91ad4f6f8c1a3 (diff) | |
download | nutyx-pakxe-889126c0f5b64a423b48fbb9fa01acd741b20df0.tar.gz nutyx-pakxe-889126c0f5b64a423b48fbb9fa01acd741b20df0.tar.bz2 nutyx-pakxe-889126c0f5b64a423b48fbb9fa01acd741b20df0.tar.xz nutyx-pakxe-889126c0f5b64a423b48fbb9fa01acd741b20df0.zip |
lua déplacé dans base
Diffstat (limited to 'base/lua/Pkgfile')
-rw-r--r-- | base/lua/Pkgfile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/base/lua/Pkgfile b/base/lua/Pkgfile new file mode 100644 index 000000000..22ed2d716 --- /dev/null +++ b/base/lua/Pkgfile @@ -0,0 +1,27 @@ +# $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 + rm -rf $PKG/usr/share + install -D -m 0644 etc/lua.pc $PKG/usr/lib/pkgconfig/lua.pc +} + |