diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2013-03-12 19:59:32 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-03 16:34:18 +0700 |
commit | 7a737bf8e2431b42dfb1f68590e6cbfa42015907 (patch) | |
tree | 02250d24a35fa1ad7eb0a816eb495199ef8702bd | |
parent | fdae8ebcf6c1494988a5d66ecbfe327b2d3e91fa (diff) |
libraries/lua-filesystem: Updated for version 1.6.2, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | libraries/lua-filesystem/lfs.pc | 2 | ||||
-rw-r--r-- | libraries/lua-filesystem/lua-filesystem.SlackBuild | 15 | ||||
-rw-r--r-- | libraries/lua-filesystem/lua-filesystem.info | 6 |
3 files changed, 12 insertions, 11 deletions
diff --git a/libraries/lua-filesystem/lfs.pc b/libraries/lua-filesystem/lfs.pc index 7cea70e8c2304..dc2f328d5d6ee 100644 --- a/libraries/lua-filesystem/lfs.pc +++ b/libraries/lua-filesystem/lfs.pc @@ -5,6 +5,6 @@ libdir=${exec_prefix}/lib/lua/5.1 Name: lfs Description: lfs - lua filesystem library -Version: 1.5.0 +Version: 1.6.2 Cflags: -I${includedir} Libs: -L${libdir} -L/usr/lib -llfs -llua -lm diff --git a/libraries/lua-filesystem/lua-filesystem.SlackBuild b/libraries/lua-filesystem/lua-filesystem.SlackBuild index f2667f9cdf760..18a878f706afe 100644 --- a/libraries/lua-filesystem/lua-filesystem.SlackBuild +++ b/libraries/lua-filesystem/lua-filesystem.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for lua-filesystem -# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2012 +# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2013 # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ PRGNAM=lua-filesystem SRCNAM=luafilesystem -VERSION=${VERSION:-20120408_84f1af5} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.6.2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,13 +71,14 @@ find -L . \ sed -i \ -e "s|/usr/local|/usr|" \ - -e "s|/lib|/lib${LIBDIRSUFFIX}|" \ - -e "s|-O2 -Wall -fPIC|${SLKCFLAGS} -Wall|" \ + -e "s|/lib|/lib$LIBDIRSUFFIX|" \ + -e "s|-O2 -Wall -fPIC|$SLKCFLAGS -Wall|" \ config make -install -m 0755 -D src/lfs.so $PKG/usr/lib${LIBDIRSUFFIX}/lua/5.1/lfs.so -( cd $PKG/usr/lib${LIBDIRSUFFIX} ; ln -s lua/5.1/lfs.so ; ln -s {,lib}lfs.so ) +install -m 0755 -D src/lfs.so $PKG/usr/lib$LIBDIRSUFFIX/lua/5.1/lfs.so install -m 0644 -D src/lfs.h $PKG/usr/include/lfs.h + +# install a pkgconfig file install -m 0644 -D $CWD/lfs.pc $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/lfs.pc sed -i "s|/lib|/lib$LIBDIRSUFFIX|" $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/lfs.pc diff --git a/libraries/lua-filesystem/lua-filesystem.info b/libraries/lua-filesystem/lua-filesystem.info index 84b1ce27c30e3..b1e1caa61aedc 100644 --- a/libraries/lua-filesystem/lua-filesystem.info +++ b/libraries/lua-filesystem/lua-filesystem.info @@ -1,8 +1,8 @@ PRGNAM="lua-filesystem" -VERSION="20120408_84f1af5" +VERSION="1.6.2" HOMEPAGE="http://keplerproject.github.com/luafilesystem/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/luafilesystem-20120408_84f1af5.tar.xz" -MD5SUM="49843fb72a5541c8faf92b8a7467d307" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/luafilesystem-1.6.2.tar.xz" +MD5SUM="495c7cb01c954c10a8a23c8331caf48b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="lua" |