diff options
author | Vitor Borrego <vitor@bitarus.allowed.org> | 2016-08-31 23:46:44 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-09-03 07:48:57 +0700 |
commit | 9c3f9b435d5895526f56594aa750978f3ed68b1e (patch) | |
tree | a3949c3356a4077c44e12bd45bf540ca97389b57 /network/ike | |
parent | 20c29926dcb0931e29e3fb929087c01db19fdb3c (diff) |
network/ike: Fixed SlackBuild.
Install to /usr/lib64 on 64 bit. Thanks to George Vlahavas.
Also i486 -> i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/ike')
-rw-r--r-- | network/ike/ike.SlackBuild | 19 | ||||
-rw-r--r-- | network/ike/slack-desc | 4 |
2 files changed, 12 insertions, 11 deletions
diff --git a/network/ike/ike.SlackBuild b/network/ike/ike.SlackBuild index def5cd37184af..8108b14205afe 100644 --- a/network/ike/ike.SlackBuild +++ b/network/ike/ike.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for ike +# Slackware build script for ike -# Copyright 2014 Vitor Borrego, Corroios, Portugal +# Copyright 2016 Vitor Borrego, Corroios, Portugal # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,7 +29,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -54,7 +54,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -76,10 +76,11 @@ cmake \ -DETCDIR=/etc \ -DMANDIR=/usr/man \ -DQTGUI=YES \ - -DNATT=YES + -DNATT=YES \ + -DLIBDIR=/usr/lib$LIBDIRSUFFIX -make -make install DESTDIR=$PKG +make +make install DESTDIR=$PKG 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 diff --git a/network/ike/slack-desc b/network/ike/slack-desc index 04ea9077e6b3f..c06e90260dcef 100644 --- a/network/ike/slack-desc +++ b/network/ike/slack-desc @@ -8,8 +8,8 @@ |-----handy-ruler------------------------------------------------------| ike: ike (Shrew Soft VPN Client for Linux and BSD) ike: -ike: ike is an IPSec Client for FreeBSD, NetBSD and many Linux based -ike: operating systems. +ike: ike is an IPSec Client for FreeBSD, NetBSD and many Linux based +ike: operating systems. ike: ike: Homepage: https://www.shrew.net/software ike: |