summaryrefslogtreecommitdiff
path: root/libraries/libtirpc/libtirpc.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-04-29 17:40:58 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-03 16:34:17 +0700
commita2575e14edd13a3a40bd36fe763c3f2a9649e644 (patch)
treeaf7d2ce074d50ec6813b45375cb240328adfdb06 /libraries/libtirpc/libtirpc.SlackBuild
parent2ef92e76f09f1200182f2edec5407738c9c53a08 (diff)
downloadslackbuilds-a2575e14edd13a3a40bd36fe763c3f2a9649e644.tar.gz
libraries/libtirpc: Updated for version 0.2.4.
Thanks to Larry Hajali for the heads up Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libtirpc/libtirpc.SlackBuild')
-rw-r--r--libraries/libtirpc/libtirpc.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/libtirpc/libtirpc.SlackBuild b/libraries/libtirpc/libtirpc.SlackBuild
index f68091db32..87d0b1c647 100644
--- a/libraries/libtirpc/libtirpc.SlackBuild
+++ b/libraries/libtirpc/libtirpc.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for libtirpc
-# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2012
+# Copyright 2013,2014 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libtirpc
-VERSION=${VERSION:-20120426_5e8214c}
+VERSION=${VERSION:-0.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,6 +55,8 @@ fi
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO VERSION"
+GSSAPI=dis ; [ "$(which gsstool)" ] && GSSAPI=en
+
set -e
rm -rf $PKG
@@ -82,12 +84,13 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
+ --${GSSAPI}able-gssapi \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-mv $PKG/etc/netconfig{,new}
+mv $PKG/etc/netconfig $PKG/etc/netconfig.new
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