summaryrefslogtreecommitdiff
path: root/multimedia/x264/x264.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-11-23 21:07:06 +0100
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-11-24 22:00:44 +0100
commit00cae9c87451f5742d73cdb9eb1734198f46653f (patch)
treee68eda0af3a1614be06ae4c23873fd25312b2e5e /multimedia/x264/x264.SlackBuild
parent1db0e601f158a9323586c3a0030348043e0a5063 (diff)
downloadslackbuilds-00cae9c87451f5742d73cdb9eb1734198f46653f.tar.gz
multimedia/x264: Fix ARCH detection and download link
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'multimedia/x264/x264.SlackBuild')
-rw-r--r--multimedia/x264/x264.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/multimedia/x264/x264.SlackBuild b/multimedia/x264/x264.SlackBuild
index 7a68c2b8d8..94af33e766 100644
--- a/multimedia/x264/x264.SlackBuild
+++ b/multimedia/x264/x264.SlackBuild
@@ -10,14 +10,14 @@ VERSION=20101023
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-#if [ -z "$ARCH" ]; then
-# case "$( uname -m )" in
-# i?86) ARCH=i486 ;;
-# arm*) ARCH=arm ;;
-# *) ARCH=$( uname -m ) ;;
-# esac
-#fi
-ARCH=i486
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM