From dc5f6f416d91f5d8266f892a5dd1d7491db9542e Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Fri, 6 Apr 2012 07:50:58 -0500 Subject: libraries/libnfs: Updated for version 1.3.0. Signed-off-by: Robby Workman --- libraries/libnfs/README | 6 +++--- libraries/libnfs/libnfs.SlackBuild | 14 ++++++++++---- libraries/libnfs/libnfs.info | 8 ++++---- libraries/libnfs/slack-desc | 6 +++--- 4 files changed, 20 insertions(+), 14 deletions(-) (limited to 'libraries/libnfs') diff --git a/libraries/libnfs/README b/libraries/libnfs/README index 1b4c36bb95..7a0ddec909 100644 --- a/libraries/libnfs/README +++ b/libraries/libnfs/README @@ -1,5 +1,5 @@ LIBNFS is a client library for accessing NFS shares over a network. -Note: when downloading with wget or through sbopkg add the -'--content-disposition' flag to get proper tarball. Otherwise, it will -just be downloaded as libnfs-$VERSION. :/ +Note: when downloading with wget or through sbopkg, add the +'--content-disposition' flag to get proper tarball. Otherwise, +it will just be downloaded as libcec-$VERSION. :/ diff --git a/libraries/libnfs/libnfs.SlackBuild b/libraries/libnfs/libnfs.SlackBuild index 1adcce5dde..50cd4078ff 100644 --- a/libraries/libnfs/libnfs.SlackBuild +++ b/libraries/libnfs/libnfs.SlackBuild @@ -5,7 +5,7 @@ # Written by Larry Hajali PRGNAM=libnfs -VERSION=${VERSION:-1.2.0} +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,14 +38,20 @@ fi set -e -[ -e ${PRGNAM}-${VERSION} ] && mv ${PRGNAM}-${VERSION} sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g345422a.tar.gz -DIRNAME=$(tar -tf $CWD/sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g345422a.tar.gz | head -1) +# In $CWD +if [ ! -r sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g47e5a2c.tar.gz ]; then + if [ -r $PRGNAM-$VERSION ]; then + mv $PRGNAM-$VERSION sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g47e5a2c.tar.gz + fi +fi + +DIRNAME=$(tar -tf $CWD/sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g47e5a2c.tar.gz | head -1) rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $DIRNAME -tar xvf $CWD/sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g345422a.tar.gz +tar xvf $CWD/sahlberg-$PRGNAM-$PRGNAM-$VERSION-0-g47e5a2c.tar.gz cd $DIRNAME chown -R root:root . find . \ diff --git a/libraries/libnfs/libnfs.info b/libraries/libnfs/libnfs.info index 850f1b1732..81b17f8b00 100644 --- a/libraries/libnfs/libnfs.info +++ b/libraries/libnfs/libnfs.info @@ -1,10 +1,10 @@ PRGNAM="libnfs" -VERSION="1.2.0" +VERSION="1.3.0" HOMEPAGE="https://github.com/sahlberg/libnfs" -DOWNLOAD="https://github.com/sahlberg/libnfs/tarball/libnfs-1.2.0" -MD5SUM="470d4d3a27bd3c20abb7a0a8b57974f3" +DOWNLOAD="https://github.com/sahlberg/libnfs/tarball/libnfs-1.3.0" +MD5SUM="a29034dfaf2b147bca274c5449abdd4c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Larry Hajali" EMAIL="larryhaja[at]gmail[dot]com" -APPROVED="Erik Hanson" +APPROVED="rworkman" diff --git a/libraries/libnfs/slack-desc b/libraries/libnfs/slack-desc index 44d8465b90..d2b92670ac 100644 --- a/libraries/libnfs/slack-desc +++ b/libraries/libnfs/slack-desc @@ -6,10 +6,10 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -libnfs: libnfs (a client library for accessing NFS shares) -libnfs: +libnfs: libnfs (NFS client library) +libnfs: libnfs: LIBNFS is a client library for accessing NFS shares over a network. -libnfs: +libnfs: libnfs: Homepage: https://github.com/sahlberg/libnfs libnfs: libnfs: -- cgit v1.2.3