diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2012-09-06 22:21:30 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-06 22:21:30 -0500 |
commit | 04a51f9c534d82cb73524cfa98e53bb20564522d (patch) | |
tree | 6fc801e0cd717704c95e958f5ee53acfe124e9f1 /network/openconnect/openconnect.SlackBuild | |
parent | 14850e19012e4d9532bbc5658b3d7a776c4449f8 (diff) | |
download | slackbuilds-04a51f9c534d82cb73524cfa98e53bb20564522d.tar.gz |
network/openconnect: Updated for version 3.20.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/openconnect/openconnect.SlackBuild')
-rw-r--r-- | network/openconnect/openconnect.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/network/openconnect/openconnect.SlackBuild b/network/openconnect/openconnect.SlackBuild index 2f9b6ad13d..cf1a6d6409 100644 --- a/network/openconnect/openconnect.SlackBuild +++ b/network/openconnect/openconnect.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for openconnect -# Copyright 2010,2011 Robby Workman, Northport, Alabama, USA +# Copyright 2010-2012 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openconnect -VERSION=${VERSION:-3.15} +VERSION=${VERSION:-3.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -77,11 +77,16 @@ CFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --with-vpnc-script=/etc/vpnc/vpnc-script \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG +mkdir -p $PKG/etc/vpnc +cat $CWD/vpnc-script > $PKG/etc/vpnc/vpnc-script.new +chmod 0755 $PKG/etc/vpnc/vpnc-script.new + gzip -9 $PKG/usr/man/man?/*.? find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ @@ -93,6 +98,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |