summaryrefslogtreecommitdiff
path: root/academic/sympy/sympy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/sympy/sympy.SlackBuild')
-rw-r--r--academic/sympy/sympy.SlackBuild11
1 files changed, 9 insertions, 2 deletions
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