From 6e6da98392cd2e3427e779b2a5ed0687957be22f Mon Sep 17 00:00:00 2001 From: dsomero Date: Sun, 1 May 2011 10:29:49 -0400 Subject: network/etherape: ARCH fixes and cleanup. Signed-off-by: dsomero --- network/etherape/etherape.SlackBuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'network/etherape') diff --git a/network/etherape/etherape.SlackBuild b/network/etherape/etherape.SlackBuild index 7724fe1230..2bc0859c25 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 -- cgit v1.2.3-80-g2a13