aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-07-04 03:11:54 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-07-04 03:11:54 -0500
commit196599d6a5b8ec03f94245a7aca16c56ace03c98 (patch)
tree97c7cc8d871fd3059c61cf35d2b68e4b4aaa4947 /development
parent3e5d527e3a3fb0c34b3dc811f3a99b473a3520a5 (diff)
development/pycscope: Fixed ARCH setting (this is not noarch)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/pycscope/pycscope.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/development/pycscope/pycscope.SlackBuild b/development/pycscope/pycscope.SlackBuild
index b08b79b2dd2e..f4efe351789d 100644
--- a/development/pycscope/pycscope.SlackBuild
+++ b/development/pycscope/pycscope.SlackBuild
@@ -6,10 +6,17 @@
PRGNAM=pycscope
VERSION=${VERSION:-0.3}
-ARCH=${ARCH:-noarch}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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