diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-07-04 02:52:46 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-07-04 02:52:46 -0500 |
commit | 96a96851c3b93fd80c0af8b03be86c9c59109711 (patch) | |
tree | 0bf6879fe7079033457a42ff9e242745a37f0cbb /academic/sympy | |
parent | 01ea100d0ff02a10f520de5ea4b5165905a0f2a1 (diff) | |
download | slackbuilds-96a96851c3b93fd80c0af8b03be86c9c59109711.tar.gz |
academic/sympy: Fixed ARCH setting - this is not noarch
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/sympy')
-rw-r--r-- | academic/sympy/sympy.SlackBuild | 11 |
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 |