summaryrefslogtreecommitdiff
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
parent1db0e601f158a9323586c3a0030348043e0a5063 (diff)
downloadslackbuilds-00cae9c87451f5742d73cdb9eb1734198f46653f.tar.gz
multimedia/x264: Fix ARCH detection and download link
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--multimedia/x264/x264.SlackBuild16
-rw-r--r--multimedia/x264/x264.info2
2 files changed, 9 insertions, 9 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
diff --git a/multimedia/x264/x264.info b/multimedia/x264/x264.info
index f755d412ab..4393607f9e 100644
--- a/multimedia/x264/x264.info
+++ b/multimedia/x264/x264.info
@@ -1,7 +1,7 @@
PRGNAM="x264"
VERSION="20101023"
HOMEPAGE="http://www.videolan.org/developers/x264.html"
-DOWNLOAD="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20101023-2245.tar.bz2"
+DOWNLOAD="http://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20101023-2245.tar.bz2"
MD5SUM="b18d077ff1b94ee53860649455a0e866"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""