aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/live555/live555.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/libraries/live555/live555.SlackBuild b/libraries/live555/live555.SlackBuild
index 4c6e8e2ac4251..a102a5cd5846b 100644
--- a/libraries/live555/live555.SlackBuild
+++ b/libraries/live555/live555.SlackBuild
@@ -7,12 +7,20 @@
# Modified for SlackBuilds.org by Erik Hanson <erik@slackbuilds.org>
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