summaryrefslogtreecommitdiffstats
path: root/source/l/libpcap/libpcap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libpcap/libpcap.SlackBuild')
-rwxr-xr-xsource/l/libpcap/libpcap.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/l/libpcap/libpcap.SlackBuild b/source/l/libpcap/libpcap.SlackBuild
index f8814e406..7655597e2 100755
--- a/source/l/libpcap/libpcap.SlackBuild
+++ b/source/l/libpcap/libpcap.SlackBuild
@@ -23,7 +23,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libpcap
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.gz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
@@ -60,7 +60,7 @@ mkdir -p $TMP $PKG
cd $TMP
rm -rf libpcap-$VERSION
-tar xvf $CWD/libpcap-$VERSION.tar.gz || exit 1
+tar xvf $CWD/libpcap-$VERSION.tar.?z || exit 1
cd libpcap-$VERSION || exit 1
find . -type d -name CVS -depth -exec rm -rf {} \+