diff options
Diffstat (limited to 'python/service_identity/service_identity.SlackBuild')
-rw-r--r-- | python/service_identity/service_identity.SlackBuild | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/python/service_identity/service_identity.SlackBuild b/python/service_identity/service_identity.SlackBuild index f2876b7316148..8e63801fcf02f 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 |