From 96a96851c3b93fd80c0af8b03be86c9c59109711 Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Sun, 4 Jul 2010 02:52:46 -0500 Subject: academic/sympy: Fixed ARCH setting - this is not noarch Signed-off-by: Robby Workman --- academic/sympy/sympy.SlackBuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'academic') diff --git a/academic/sympy/sympy.SlackBuild b/academic/sympy/sympy.SlackBuild index c9a05fe1ad..c9de4b415b 100644 --- a/academic/sympy/sympy.SlackBuild +++ b/academic/sympy/sympy.SlackBuild @@ -7,10 +7,17 @@ PRGNAM=sympy VERSION=${VERSION:-0.6.7} -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 -- cgit v1.2.3