diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-21 02:57:13 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:28:20 +0000 |
commit | f1d5a290ad42733abadaf059343cbd4a8cb3d536 (patch) | |
tree | d305bdbccf2f5cd55cd8d0a31ba1d6bab29d6379 /multimedia/flvtool2/flvtool2.SlackBuild | |
parent | 6df2f15651f7174c34bd96b25573cf370f0973f4 (diff) |
multimedia/flvtool2: 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/flvtool2/flvtool2.SlackBuild')
-rw-r--r-- | multimedia/flvtool2/flvtool2.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/flvtool2/flvtool2.SlackBuild b/multimedia/flvtool2/flvtool2.SlackBuild index 765d2a6f539e..fb93a940f5e7 100644 --- a/multimedia/flvtool2/flvtool2.SlackBuild +++ b/multimedia/flvtool2/flvtool2.SlackBuild @@ -26,13 +26,13 @@ PRGNAM=flvtool2 -VERSION=1.0.6 +VERSION=${VERSION:-1.0.6} 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 @@ -43,8 +43,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" |