aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 03:17:09 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:27 +0000
commit67fc95d10f2bbbcff078d0cc3dc410488b73faed (patch)
tree0ee2aede718057f407ced976fea819cef42059f4 /multimedia
parent4f85c60989c221b375adf015ca0e9b3d923c1ade (diff)
multimedia/iat: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/iat/iat.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/iat/iat.SlackBuild b/multimedia/iat/iat.SlackBuild
index fa787c0e6eff9..f086ec0e46305 100644
--- a/multimedia/iat/iat.SlackBuild
+++ b/multimedia/iat/iat.SlackBuild
@@ -4,13 +4,13 @@
# Written by Elvio Basello <hellvis69 at slackware dot it>
PRGNAM=iat
-VERSION=0.1.7
+VERSION=${VERSION:-0.1.7}
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
@@ -21,8 +21,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"