summaryrefslogtreecommitdiffstats
path: root/python/service_identity/service_identity.SlackBuild
diff options
context:
space:
mode:
author Markus Reichelt <slackbuilds@mareichelt.de>2016-09-11 08:08:17 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-11 08:08:17 +0700
commit083a9e92319effd49b91eb52868da7cc240f6805 (patch)
treec10bcc56d90572292511dbeed994467a2bfd4361 /python/service_identity/service_identity.SlackBuild
parent79e7ad9b65f232c4dee4a3330ddb3394d07fa33c (diff)
downloadslackbuilds-083a9e92319effd49b91eb52868da7cc240f6805.tar.gz
slackbuilds-083a9e92319effd49b91eb52868da7cc240f6805.tar.xz
python/service_identity: Updated for version 16.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/service_identity/service_identity.SlackBuild')
-rw-r--r--python/service_identity/service_identity.SlackBuild22
1 files changed, 18 insertions, 4 deletions
diff --git a/python/service_identity/service_identity.SlackBuild b/python/service_identity/service_identity.SlackBuild
index f2876b7316..8e63801fcf 100644
--- a/python/service_identity/service_identity.SlackBuild
+++ b/python/service_identity/service_identity.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# Slackware build script for service_identity.
+# Slackware build script for service_identity
#
-# Copyright 2014 Markus Reichelt, Stolberg (Rhld.), DE
+# Copyright 2014-2016 Markus Reichelt, Aachen, DE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=service_identity
-VERSION=${VERSION:-14.0.0}
+VERSION=${VERSION:-16.0.0}
BUILD=${BUILD:-1}
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,6 +40,20 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
set -e
rm -rf $PKG