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>
This commit is contained in:
Vitor Borrego 2016-08-31 23:46:44 +01:00 committed by Willy Sudiarto Raharjo
parent 20c29926dc
commit 9c3f9b435d
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 12 additions and 11 deletions

View File

@ -2,7 +2,7 @@
# 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"
@ -76,7 +76,8 @@ cmake \
-DETCDIR=/etc \
-DMANDIR=/usr/man \
-DQTGUI=YES \
-DNATT=YES
-DNATT=YES \
-DLIBDIR=/usr/lib$LIBDIRSUFFIX
make
make install DESTDIR=$PKG