aboutsummaryrefslogtreecommitdiff
path: root/network/openconnect
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2011-12-10 21:29:17 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-10 21:29:17 -0200
commite56ef829d69cd4f63824552c23b3d375f2f83319 (patch)
treeacf8cae17a8d5f4569a9d497f94e2ca1c3e78739 /network/openconnect
parent637dbe29728ba256758464ee0c41e872e572c849 (diff)
network/openconnect: Updated for version 3.14.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/openconnect')
-rw-r--r--network/openconnect/openconnect.SlackBuild26
-rw-r--r--network/openconnect/openconnect.info8
2 files changed, 18 insertions, 16 deletions
diff --git a/network/openconnect/openconnect.SlackBuild b/network/openconnect/openconnect.SlackBuild
index 75ac3c4313be..38f384189dd3 100644
--- a/network/openconnect/openconnect.SlackBuild
+++ b/network/openconnect/openconnect.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openconnect
-VERSION=${VERSION:-3.02}
+VERSION=${VERSION:-3.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -71,22 +69,26 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-make install install-lib \
- RPM_OPT_FLAGS="$SLKCFLAGS -Wall" \
- LIBDIR=/usr/lib${LIBDIRSUFFIX} \
- DESTDIR=$PKG
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make V=1
+make install 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING* README* TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING* TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/network/openconnect/openconnect.info b/network/openconnect/openconnect.info
index 81ee244df55e..47d2ae4e7546 100644
--- a/network/openconnect/openconnect.info
+++ b/network/openconnect/openconnect.info
@@ -1,10 +1,10 @@
PRGNAM="openconnect"
-VERSION="3.02"
+VERSION="3.14"
HOMEPAGE="http://www.infradead.org/openconnect.html"
-DOWNLOAD="ftp://ftp.infradead.org/pub/openconnect/openconnect-3.02.tar.gz"
-MD5SUM="c12688474f432a6d590958cc1c1ff076"
+DOWNLOAD="ftp://ftp.infradead.org/pub/openconnect/openconnect-3.14.tar.gz"
+MD5SUM="c7e73dfa58c7c49683c93800a3506a0f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="Erik Hanson"
+APPROVED="Niels Horn"