summaryrefslogtreecommitdiffstats
path: root/audio/mp3blaster
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2017-03-20 22:50:49 -0400
committer David Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:51 +0000
commite850e1b453a146880fe0847e91df44a1f07b7760 (patch)
treee647658ea29e18fe6b588b44551c13052a917ae6 /audio/mp3blaster
parent0ad3050c4e975fb3e59b31e43377966d31d2c682 (diff)
downloadslackbuilds-e850e1b453a146880fe0847e91df44a1f07b7760.tar.gz
slackbuilds-e850e1b453a146880fe0847e91df44a1f07b7760.tar.xz
audio/mp3blaster: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'audio/mp3blaster')
-rw-r--r--audio/mp3blaster/mp3blaster.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/mp3blaster/mp3blaster.SlackBuild b/audio/mp3blaster/mp3blaster.SlackBuild
index bbb6f3a598..f0b5dff391 100644
--- a/audio/mp3blaster/mp3blaster.SlackBuild
+++ b/audio/mp3blaster/mp3blaster.SlackBuild
@@ -25,13 +25,13 @@
# Modified by the SlackBuilds.org project
PRGNAM=mp3blaster
-VERSION=3.2.5
+VERSION=${VERSION:-3.2.5}
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
@@ -42,8 +42,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"