summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2013-06-16 15:55:16 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2013-06-22 21:32:20 -0300
commit086c6c050fa49452003ad2911c555ee14ddd0d1d (patch)
treed08cf3cec94d530a4c979ba2d6a13cb758164bd7 /libraries
parent22070018bdfee9e61ff058486a7984d7bb03a378 (diff)
downloadslackbuilds-086c6c050fa49452003ad2911c555ee14ddd0d1d.tar.gz
libraries/libnfs: Updated for version 1.6.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries')
-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"