summaryrefslogtreecommitdiff
path: root/system/gkrellm-volume/gkrellm-volume.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 13:19:54 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:54 +0000
commit294a26a5325d1e39b62e08787da6c58224964290 (patch)
treefd42baced450b4a3c370c6b8386b6d76e66f5fb0 /system/gkrellm-volume/gkrellm-volume.SlackBuild
parent70f10cbf1141e9780c0f52617d75d5a4b5901f8e (diff)
downloadslackbuilds-294a26a5325d1e39b62e08787da6c58224964290.tar.gz
system/gkrellm-volume: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/gkrellm-volume/gkrellm-volume.SlackBuild')
-rw-r--r--system/gkrellm-volume/gkrellm-volume.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/gkrellm-volume/gkrellm-volume.SlackBuild b/system/gkrellm-volume/gkrellm-volume.SlackBuild
index 63367e7841..1114b5ae2c 100644
--- a/system/gkrellm-volume/gkrellm-volume.SlackBuild
+++ b/system/gkrellm-volume/gkrellm-volume.SlackBuild
@@ -18,13 +18,13 @@
# Modifed by the SlackBuilds.org project
PRGNAM=gkrellm-volume
-VERSION=2.1.13
+VERSION=${VERSION:-2.1.13}
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
@@ -35,8 +35,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"