diff options
author | Andrew Tkalia <anddt@yandex.ua> | 2014-05-18 20:31:43 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-18 20:31:43 +0700 |
commit | 6fb1d14b9940164a21ef9cac2468eafb5457c9c4 (patch) | |
tree | ddd41a1b66af4ff1d38fdbeca5bff3fecc2726a7 /libraries/luaexpat | |
parent | ed0851d79ea6562f807d3d11a125ff43285bf721 (diff) | |
download | slackbuilds-6fb1d14b9940164a21ef9cac2468eafb5457c9c4.tar.gz |
libraries/luaexpat: Updated for version 1.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/luaexpat')
-rw-r--r-- | libraries/luaexpat/luaexpat.SlackBuild | 34 | ||||
-rw-r--r-- | libraries/luaexpat/luaexpat.info | 8 |
2 files changed, 18 insertions, 24 deletions
diff --git a/libraries/luaexpat/luaexpat.SlackBuild b/libraries/luaexpat/luaexpat.SlackBuild index bf0333b67b..431eaf5b76 100644 --- a/libraries/luaexpat/luaexpat.SlackBuild +++ b/libraries/luaexpat/luaexpat.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for luaexpat -# Copyright 2013, Andrew Tkalia <anddt@yandex.ru>, Ukraine, Kyiv +# Copyright 2013-2014, Andrew Tkalia <anddt@yandex.ua>, Ukraine, Kyiv # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=luaexpat -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -41,16 +41,16 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="-march=i486 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + SLKCFLAGS="" LIBDIRSUFFIX="64" else - SLKCFLAGS="-O2" + SLKCFLAGS="" LIBDIRSUFFIX="" fi @@ -65,25 +65,19 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -echo "Ignore This make warning" -_CFLAGS="`make -nps |grep ^CFLAGS |sed "s,CFLAGS\ \=,,g"`"" ${SLKCFLAGS}" + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; make \ LUA_LIBDIR=" /usr/lib${LIBDIRSUFFIX}/lua/5.1" \ - LUA_DIR=" /usr/share/lua/5.1" \ - LUA_INC=" /usr/include" \ - EXPAT_INC=" /usr/include" \ - LUA_VERSION_NUM=" 501" \ - CFLAGS=" $_CFLAGS" + LUA_INC=" -I/usr/include" \ + CFLAGS=" $SLKCFLAGS" make install \ - LUA_LIBDIR=" $PKG/usr/lib${LIBDIRSUFFIX}/lua/5.1" \ - LUA_DIR=" $PKG/usr/share/lua/5.1" \ + LUA_CDIR=" $PKG/usr/lib${LIBDIRSUFFIX}/lua/5.1" \ + LUA_LDIR=" $PKG/usr/share/lua/5.1" \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/libraries/luaexpat/luaexpat.info b/libraries/luaexpat/luaexpat.info index 40bf947d9c..f2e30e0f3b 100644 --- a/libraries/luaexpat/luaexpat.info +++ b/libraries/luaexpat/luaexpat.info @@ -1,10 +1,10 @@ PRGNAM="luaexpat" -VERSION="1.2.0" +VERSION="1.3.0" HOMEPAGE="http://matthewwild.co.uk/projects/luaexpat/" -DOWNLOAD="http://matthewwild.co.uk/projects/luaexpat/luaexpat-1.2.0.tar.gz" -MD5SUM="03efe50c7f30a34580701e6527d7bfee" +DOWNLOAD="https://matthewwild.co.uk/projects/luaexpat/luaexpat-1.3.0.tar.gz" +MD5SUM="3c20b5795e7107f847f8da844fbfe2da" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lua" MAINTAINER="Andrew Tkalia" -EMAIL="anddt@yandex.ru" +EMAIL="anddt@yandex.ua" |