diff options
Diffstat (limited to 'libraries/qwt')
-rw-r--r-- | libraries/qwt/qwt.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/libraries/qwt/qwt.SlackBuild b/libraries/qwt/qwt.SlackBuild index 1afca22b29b76..d8572b5ac90ea 100644 --- a/libraries/qwt/qwt.SlackBuild +++ b/libraries/qwt/qwt.SlackBuild @@ -9,10 +9,17 @@ PRGNAM=qwt VERSION=${VERSION:-5.1.1} -ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} 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 |