diff options
author | piernov <piernov@piernov.org> | 2012-04-14 13:47:59 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-04-14 13:47:59 +0200 |
commit | b4b37f24ee01335acd15f4d028ed1011c73b9492 (patch) | |
tree | 1630ea8d456f969500dd0f5fc5a4ced991f4b0ca /lua/Pkgfile | |
parent | 29fb363f5a200e457be1bb95d8aaadc0442ff154 (diff) | |
download | nutyx-extra-b4b37f24ee01335acd15f4d028ed1011c73b9492.tar.gz nutyx-extra-b4b37f24ee01335acd15f4d028ed1011c73b9492.tar.bz2 nutyx-extra-b4b37f24ee01335acd15f4d028ed1011c73b9492.tar.xz nutyx-extra-b4b37f24ee01335acd15f4d028ed1011c73b9492.zip |
lua 5.1.5-1 màj port
Diffstat (limited to 'lua/Pkgfile')
-rw-r--r-- | lua/Pkgfile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/lua/Pkgfile b/lua/Pkgfile index f4a551275..80da627af 100644 --- a/lua/Pkgfile +++ b/lua/Pkgfile @@ -1,28 +1,23 @@ -# $Id: build,v 1.9 2008/08/30 20:36:55 linda Exp root $ -# Description: A programming language designed for extending applications +# Description: Langage de programmation léger. # 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 +version=5.1.5 +release=1 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" + [ `uname -i` == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC" - make linux + 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 } - |