summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 02:59:39 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:21 +0000
commit9637c808bae70a09ebafe3cff1f43e45645e8e36 (patch)
tree2f9281c450778f1d8b26701709b3709d66adeae7 /multimedia
parent9d1c7170d58ce0d215cc04c2a8ffd146de944ee1 (diff)
downloadslackbuilds-9637c808bae70a09ebafe3cff1f43e45645e8e36.tar.gz
multimedia/kino: 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/kino/kino.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/kino/kino.SlackBuild b/multimedia/kino/kino.SlackBuild
index e766be7abd..e64894e08b 100644
--- a/multimedia/kino/kino.SlackBuild
+++ b/multimedia/kino/kino.SlackBuild
@@ -22,13 +22,13 @@
# that's installed on the system.
PRGNAM=kino
-VERSION=1.3.4
+VERSION=${VERSION:-1.3.4}
BUILD=${BUILD:-4}
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
@@ -39,8 +39,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"