summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libnfs/README5
-rw-r--r--libraries/libnfs/libnfs.SlackBuild13
-rw-r--r--libraries/libnfs/libnfs.info8
3 files changed, 9 insertions, 17 deletions
diff --git a/libraries/libnfs/README b/libraries/libnfs/README
index a6f93a1052..8959bd8412 100644
--- a/libraries/libnfs/README
+++ b/libraries/libnfs/README
@@ -1,6 +1 @@
LIBNFS is a client library for accessing NFS shares over a network.
-
-Optionally libnfs can use libtirpc. To use libtirpc with libnfs
-install libtirpc and then run the slackbuild as with the following
-argument.
- # LIBTIRPC=yes ./libnfs.SlackBuild
diff --git a/libraries/libnfs/libnfs.SlackBuild b/libraries/libnfs/libnfs.SlackBuild
index 24bab68ebf..0968f6984e 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.5.0}
+VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,12 +69,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Make libtirpc optional. Default is not to build w/libtirpc.
-if [ "${LIBTIRPC:-no}" == "yes" ]; then
- OPT_DEPS="--enable-tirpc"
-else
- unset OPT_DEPS
-fi
+# Fix pkg-config file.
+sed -i 's|@LIBNFS_PC_REQ_PRIVATE@||' $PRGNAM.pc.in
+
+./bootstrap
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -83,7 +81,6 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-dependency-tracking \
--enable-static=no \
- $OPT_DEPS \
--build=$ARCH-slackware-linux
make
diff --git a/libraries/libnfs/libnfs.info b/libraries/libnfs/libnfs.info
index 77ba0ed41f..670b694df7 100644
--- a/libraries/libnfs/libnfs.info
+++ b/libraries/libnfs/libnfs.info
@@ -1,10 +1,10 @@
PRGNAM="libnfs"
-VERSION="1.5.0"
+VERSION="1.6.0"
HOMEPAGE="https://github.com/sahlberg/libnfs"
-DOWNLOAD="https://github.com/downloads/sahlberg/libnfs/libnfs-1.5.0.tar.gz"
-MD5SUM="58d88d7a7cfb9455a3fb044d158cef55"
+DOWNLOAD="https://sites.google.com/site/libnfstarballs/li/libnfs-1.6.0.tar.gz"
+MD5SUM="14a422a227745fa841f78a29f01492a4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="%README%"
+REQUIRES=""
MAINTAINER="Larry Hajali"
EMAIL="larryhaja[at]gmail[dot]com"