diff options
author | Robby Workman <rw@rlworkman.net> | 2011-12-10 21:29:17 -0200 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-12-10 21:29:17 -0200 |
commit | e56ef829d69cd4f63824552c23b3d375f2f83319 (patch) | |
tree | acf8cae17a8d5f4569a9d497f94e2ca1c3e78739 /network/openconnect/openconnect.SlackBuild | |
parent | 637dbe29728ba256758464ee0c41e872e572c849 (diff) | |
download | slackbuilds-e56ef829d69cd4f63824552c23b3d375f2f83319.tar.gz |
network/openconnect: Updated for version 3.14.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/openconnect/openconnect.SlackBuild')
-rw-r--r-- | network/openconnect/openconnect.SlackBuild | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/network/openconnect/openconnect.SlackBuild b/network/openconnect/openconnect.SlackBuild index 75ac3c4313..38f384189d 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 |