diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-21 03:09:56 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:28:24 +0000 |
commit | e1b2780cb8df10f46e1a88785bc9de39303f0c6b (patch) | |
tree | 010fd0a96e121846923ce9c2d88a057c9a8724ac /multimedia/ripperX/ripperX.SlackBuild | |
parent | 5b0a4a125599f3a432c95276756ddab79726437c (diff) |
multimedia/ripperX: 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/ripperX/ripperX.SlackBuild')
-rw-r--r-- | multimedia/ripperX/ripperX.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/ripperX/ripperX.SlackBuild b/multimedia/ripperX/ripperX.SlackBuild index 99e66b0d2407d..18735e8aab22a 100644 --- a/multimedia/ripperX/ripperX.SlackBuild +++ b/multimedia/ripperX/ripperX.SlackBuild @@ -25,13 +25,13 @@ # Modified by Robby Workman <rworkman@slackbuilds.org> PRGNAM=ripperX -VERSION=2.7.3 +VERSION=${VERSION:-2.7.3} BUILD=${BUILD:-3} 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" |