summaryrefslogtreecommitdiff
path: root/source/l/neon/neon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/neon/neon.SlackBuild')
-rwxr-xr-xsource/l/neon/neon.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/source/l/neon/neon.SlackBuild b/source/l/neon/neon.SlackBuild
index 511a0891..896d885d 100755
--- a/source/l/neon/neon.SlackBuild
+++ b/source/l/neon/neon.SlackBuild
@@ -22,10 +22,19 @@
PKGNAM=neon
-VERSION=${VERSION:-0.28.4}
-ARCH=${ARCH:-x86_64}
+VERSION=${VERSION:-0.29.0}
BUILD=${BUILD:-1}
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
NUMJOBS=${NUMJOBS:-" -j7 "}
if [ "$ARCH" = "i486" ]; then