summaryrefslogtreecommitdiff
path: root/system/spkg/spkg.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-03-16 17:21:21 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-17 08:51:56 +0700
commitbbecbfe7ca5e9af42cf537bbad050afa4d52b688 (patch)
tree5d8c45d7d911b24b7d4c2de021d0c5e6566997f1 /system/spkg/spkg.SlackBuild
parentd8898491afdc6b34e1fb41c70f38f9d36cb18803 (diff)
downloadslackbuilds-bbecbfe7ca5e9af42cf537bbad050afa4d52b688.tar.gz
system/spkg: Updated for version 1.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/spkg/spkg.SlackBuild')
-rw-r--r--system/spkg/spkg.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/system/spkg/spkg.SlackBuild b/system/spkg/spkg.SlackBuild
index 36395aa2aa..dc93135470 100644
--- a/system/spkg/spkg.SlackBuild
+++ b/system/spkg/spkg.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for spkg
-# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2013-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# 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=spkg
-VERSION=${VERSION:-1.0.1}
+VERSION=${VERSION:-1.1}
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,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"
@@ -69,6 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+./autogen.sh
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \