aboutsummaryrefslogtreecommitdiff
path: root/network/etherape
diff options
context:
space:
mode:
Diffstat (limited to 'network/etherape')
-rw-r--r--network/etherape/etherape.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/network/etherape/etherape.SlackBuild b/network/etherape/etherape.SlackBuild
index 7724fe123062..2bc0859c25e6 100644
--- a/network/etherape/etherape.SlackBuild
+++ b/network/etherape/etherape.SlackBuild
@@ -5,10 +5,17 @@
PRGNAM=etherape
VERSION=${VERSION:-0.9.9}
-ARCH=${ARCH:-i486}
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
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM