summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/ike/ike.SlackBuild19
-rw-r--r--network/ike/slack-desc4
2 files changed, 12 insertions, 11 deletions
diff --git a/network/ike/ike.SlackBuild b/network/ike/ike.SlackBuild
index def5cd3718..8108b14205 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 04ea9077e6..c06e90260d 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: