diff options
Diffstat (limited to 'audio/rack/rack.SlackBuild')
-rw-r--r-- | audio/rack/rack.SlackBuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/audio/rack/rack.SlackBuild b/audio/rack/rack.SlackBuild index e2bb9db6c9678..be622f30af181 100644 --- a/audio/rack/rack.SlackBuild +++ b/audio/rack/rack.SlackBuild @@ -24,12 +24,20 @@ PRGNAM=rack SRCNAM=Rack2Free -VERSION=${VERSION:-2.0.6} +VERSION=${VERSION:-2.1.2} SRCDIR=RackFree-$VERSION BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information # could be useful to other scripts. @@ -38,13 +46,6 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi if [ "$ARCH" = "i586" ]; then BITFLAG="32" |