diff options
author | piernov <piernov@piernov.org> | 2012-05-31 19:47:15 +0000 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-05-31 19:47:36 +0000 |
commit | 2ea2cd39328d2ab7f50b571c373eea2abed4fa91 (patch) | |
tree | 7d4675d3e48fa211e7cee1efa8df56fefc80fd07 /lua/Pkgfile | |
parent | 2986d0040d47f1f87e441693fe9c538ae1c4f657 (diff) | |
download | nutyx-extra-2ea2cd39328d2ab7f50b571c373eea2abed4fa91.tar.gz nutyx-extra-2ea2cd39328d2ab7f50b571c373eea2abed4fa91.tar.bz2 nutyx-extra-2ea2cd39328d2ab7f50b571c373eea2abed4fa91.tar.xz nutyx-extra-2ea2cd39328d2ab7f50b571c373eea2abed4fa91.zip |
lua 5.2.0-1 màj port + kdelibs ajout dep qtwebkit
Diffstat (limited to 'lua/Pkgfile')
-rw-r--r-- | lua/Pkgfile | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lua/Pkgfile b/lua/Pkgfile index 80da627af..6246024b4 100644 --- a/lua/Pkgfile +++ b/lua/Pkgfile @@ -5,19 +5,18 @@ # Run on: name=lua -version=5.1.5 +#version=5.1.5 +version=5.2.0 release=1 source=(http://www.lua.org/ftp/$name-$version.tar.gz - lua-5.1.4-cflags.diff) + lua.diff) build() { cd $name-$version - [ `uname -i` == "x86_64" ] && patch -Np1 -i ../lua-5.1.4-cflags.diff - [ `uname -i` == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC" - - make linux + patch -p1 < ../lua.diff + [[ "`uname -m`" == "x86_64" ]] && make MYCFLAGS="-fPIC" 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 + make pc > lua.pc + install -D -m 0644 lua.pc $PKG/usr/lib/pkgconfig/lua.pc } |