diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2011-05-01 10:29:49 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-05-03 09:08:23 -0500 |
commit | 6e6da98392cd2e3427e779b2a5ed0687957be22f (patch) | |
tree | e25870687e0a88a81c5d17fdfea37a41001b2acd /network/etherape | |
parent | d657a00a5a02a93b007601a521873e01027f6e46 (diff) | |
download | slackbuilds-6e6da98392cd2e3427e779b2a5ed0687957be22f.tar.gz |
network/etherape: ARCH fixes and cleanup.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/etherape')
-rw-r--r-- | network/etherape/etherape.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
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 |