aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 03:02:30 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:22 +0000
commit49b862f5c16ff38ec679dc7de5a10dc103aa3ed4 (patch)
tree867d154271fcd01282ddc6133053049d9d885c43
parent9f19b3e794091e125e192a25e3498bf92d4ab2c3 (diff)
multimedia/mplayer-codecs64: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild b/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild
index 2f5fd6380aff2..ca8351ecf8f81 100644
--- a/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild
+++ b/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild
@@ -23,12 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mplayer-codecs64
-VERSION=20061022
+VERSION=${VERSION:-20061022}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,7 +41,7 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
if [ "$ARCH" != "x86_64" ]; then
- if [ "$ARCH" = "i486" ] ; then
+ if [ "$ARCH" = "i586" ] ; then
printf "\nThis is for 64-bit codecs only. If you need 32-bit codecs,\n"
printf "then you need the \"mplayer-codecs32\" package instead.\n\n"
exit 1