From c872b4bd4ccaa8b79cf4e2c69bcc1995d15040c5 Mon Sep 17 00:00:00 2001 From: dsomero Date: Sun, 1 May 2011 10:28:06 -0400 Subject: libraries/live555: ARCH fixes and cleanup. Signed-off-by: dsomero --- libraries/live555/live555.SlackBuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libraries/live555/live555.SlackBuild b/libraries/live555/live555.SlackBuild index 4c6e8e2ac425..a102a5cd5846 100644 --- a/libraries/live555/live555.SlackBuild +++ b/libraries/live555/live555.SlackBuild @@ -7,12 +7,20 @@ # Modified for SlackBuilds.org by Erik Hanson PRGNAM=live555 -SRCNAM=live VERSION=${VERSION:-2010.01.11} -ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCNAM=live + +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 -- cgit v1.2.3