summaryrefslogtreecommitdiff
path: root/network/xtables-addons/xtables-addons.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-12-13 09:12:53 -0600
committerErik Hanson <erik@slackbuilds.org>2010-12-17 07:56:23 -0600
commit8de03744a50774606f776772c4e39cdd8ddca878 (patch)
treee47160772a523277d05f2549bd36267c6831e829 /network/xtables-addons/xtables-addons.SlackBuild
parent5a11edaf5558a80d70267c87b99c3a0fdf685996 (diff)
downloadslackbuilds-8de03744a50774606f776772c4e39cdd8ddca878.tar.gz
network/xtables-addons: Updated for version 1.31.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/xtables-addons/xtables-addons.SlackBuild')
-rw-r--r--network/xtables-addons/xtables-addons.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/network/xtables-addons/xtables-addons.SlackBuild b/network/xtables-addons/xtables-addons.SlackBuild
index 3e8f437d71..a7fb77920d 100644
--- a/network/xtables-addons/xtables-addons.SlackBuild
+++ b/network/xtables-addons/xtables-addons.SlackBuild
@@ -23,18 +23,16 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xtables-addons
-VERSION=1.26
+VERSION=${VERSION:-1.31}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
-# 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
@@ -64,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \