summaryrefslogtreecommitdiff
path: root/network/conntrack-tools/conntrack-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/conntrack-tools/conntrack-tools.SlackBuild')
-rw-r--r--network/conntrack-tools/conntrack-tools.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/network/conntrack-tools/conntrack-tools.SlackBuild b/network/conntrack-tools/conntrack-tools.SlackBuild
index a835a3b182..e674c5ffec 100644
--- a/network/conntrack-tools/conntrack-tools.SlackBuild
+++ b/network/conntrack-tools/conntrack-tools.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for conntrack-tools
-# Copyright 2006-2011 Robby Workman, Northport, Alabama, USA
+# Copyright 2006-2011 Robby Workman, Northport, Alabama, USA
+# Copyright 2013 Michal Bialozor, Gdansk, Pomorskie, POLAND
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,14 +24,16 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=conntrack-tools
-VERSION=1.0.1
+VERSION=${VERSION:-1.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi