aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlarryhaja <larryhaja@gmail.com>2013-11-13 18:43:50 -0800
committerRobby Workman <rworkman@slackbuilds.org>2013-11-13 23:02:16 -0600
commit76fa97b9d1090deb8410d33dbf28978ae3217a33 (patch)
tree164a035222af6b364e000a4fb78c7069d5d35541
parent183fba2d38daaef49f5a5ce092efc5aea9bcec67 (diff)
libraries/libnfs: Upgraded to version 1.8.0
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--libraries/libnfs/libnfs.SlackBuild14
-rw-r--r--libraries/libnfs/libnfs.info6
2 files changed, 10 insertions, 10 deletions
diff --git a/libraries/libnfs/libnfs.SlackBuild b/libraries/libnfs/libnfs.SlackBuild
index 0968f6984e2aa..4148709094f89 100644
--- a/libraries/libnfs/libnfs.SlackBuild
+++ b/libraries/libnfs/libnfs.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libnfs
-VERSION=${VERSION:-1.6.0}
+VERSION=${VERSION:-1.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -69,9 +69,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix pkg-config file.
-sed -i 's|@LIBNFS_PC_REQ_PRIVATE@||' $PRGNAM.pc.in
-
./bootstrap
CFLAGS="$SLKCFLAGS" \
@@ -89,6 +86,9 @@ make install DESTDIR=$PKG
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
+# Fix pkg-config file.
+sed -i 's|@LIBNFS_PC_REQ_PRIVATE@||' $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/$PRGNAM.pc
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/libnfs/libnfs.info b/libraries/libnfs/libnfs.info
index 670b694df7236..ad082b7f1e445 100644
--- a/libraries/libnfs/libnfs.info
+++ b/libraries/libnfs/libnfs.info
@@ -1,8 +1,8 @@
PRGNAM="libnfs"
-VERSION="1.6.0"
+VERSION="1.8.0"
HOMEPAGE="https://github.com/sahlberg/libnfs"
-DOWNLOAD="https://sites.google.com/site/libnfstarballs/li/libnfs-1.6.0.tar.gz"
-MD5SUM="14a422a227745fa841f78a29f01492a4"
+DOWNLOAD="https://sites.google.com/site/libnfstarballs/li/libnfs-1.8.0.tar.gz"
+MD5SUM="f6ace426d9897299971ff7573ae9838f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""