summaryrefslogtreecommitdiff
path: root/network/openconnect/openconnect.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-04-26 18:46:45 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-04-26 18:46:45 -0500
commitb0722d6a0234c4d086d48dd4857e21751d028f04 (patch)
treef901b2980946e995df39ec68d6375c5fe18653e8 /network/openconnect/openconnect.SlackBuild
parentd9838e786fc793c26be3fc8bf38184f1d472318c (diff)
downloadslackbuilds-b0722d6a0234c4d086d48dd4857e21751d028f04.tar.gz
network/openconnect: Updated for version 3.02.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/openconnect/openconnect.SlackBuild')
-rw-r--r--network/openconnect/openconnect.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/network/openconnect/openconnect.SlackBuild b/network/openconnect/openconnect.SlackBuild
index 1601b6af39..75ac3c4313 100644
--- a/network/openconnect/openconnect.SlackBuild
+++ b/network/openconnect/openconnect.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openconnect
-VERSION=${VERSION:-2.26}
+VERSION=${VERSION:-3.02}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,10 +71,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-make install \
+make install install-lib \
RPM_OPT_FLAGS="$SLKCFLAGS -Wall" \
+ LIBDIR=/usr/lib${LIBDIRSUFFIX} \
DESTDIR=$PKG
-
+
+mv $PKG/usr/share/man $PKG/usr
+rmdir $PKG/usr/share
+gzip -9 $PKG/usr/man/man?/*.?
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true