summaryrefslogtreecommitdiff
path: root/source/l/qca
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/qca')
-rwxr-xr-xsource/l/qca/qca.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/source/l/qca/qca.SlackBuild b/source/l/qca/qca.SlackBuild
index de767cf5..49367ffc 100755
--- a/source/l/qca/qca.SlackBuild
+++ b/source/l/qca/qca.SlackBuild
@@ -24,11 +24,19 @@
# No additional license terms and no copyright claim
PKGNAM=qca
-VERSION=2.0.1
-ARCH=${ARCH:-x86_64}
+VERSION=2.0.2
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:--j6}
+# Automatically determine architecture for build & packaging:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i486 ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-${PKGNAM}