summaryrefslogtreecommitdiff
path: root/libraries/libffado/libffado.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-11-04 05:21:30 +0000
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-11-22 19:44:57 +0100
commit1dd7d6584748c7e02a1704c7511cc564b31e7245 (patch)
tree19da8377806ebf956870951d3300900d247e0e8b /libraries/libffado/libffado.SlackBuild
parent10b228b68abec28941936c375bef58885d061010 (diff)
downloadslackbuilds-1dd7d6584748c7e02a1704c7511cc564b31e7245.tar.gz
libraries/libffado: Updated for version 2.0.1.
Signed-off-by: Michiel van Wessem <michiel@slackbuilds.org>
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 5911187ea0..1a890a7c28 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