aboutsummaryrefslogtreecommitdiff
path: root/libraries/libffado/libffado.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libffado/libffado.SlackBuild')
-rw-r--r--libraries/libffado/libffado.SlackBuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/libraries/libffado/libffado.SlackBuild b/libraries/libffado/libffado.SlackBuild
index 5911187ea00ca..1a890a7c28bfa 100644
--- a/libraries/libffado/libffado.SlackBuild
+++ b/libraries/libffado/libffado.SlackBuild
@@ -23,11 +23,18 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libffado
-VERSION=2.0.0
-ARCH=${ARCH:-i486}
+VERSION=2.0.1
BUILD=${BUILD:-1}
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