summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ham/spectools/README11
-rw-r--r--ham/spectools/spectools.SlackBuild10
-rw-r--r--ham/spectools/spectools.info2
3 files changed, 13 insertions, 10 deletions
diff --git a/ham/spectools/README b/ham/spectools/README
index 2a280f07a9..f8130581ab 100644
--- a/ham/spectools/README
+++ b/ham/spectools/README
@@ -1,6 +1,7 @@
-Spectools is a set of utilities for using various spectrum analyzer hardware.
-It supports the suite of Wi-Spy devices (original, 24x, 24x2, DBX, DBX2, 900,
-24i) by Metageek LLC and the Ubertooth. Spectools includes userspace drivers
-for the hardware itself, a graphing UI built GTK and Cairo, network protocols
-for remote device capture, and simple utilities for developing additional
+Spectools is a set of utilities for using various spectrum
+analyzer hardware. It supports the suite of Wi-Spy devices
+(original, 24x, 24x2, DBX, DBX2, 900, 24i) by Metageek LLC and the
+Ubertooth. Spectools includes userspace drivers for the hardware
+itself, a graphing UI built GTK and Cairo, network protocols for
+remote device capture, and simple utilities for developing additional
tools.
diff --git a/ham/spectools/spectools.SlackBuild b/ham/spectools/spectools.SlackBuild
index e0f0a778fc..5f2d7aa06b 100644
--- a/ham/spectools/spectools.SlackBuild
+++ b/ham/spectools/spectools.SlackBuild
@@ -23,10 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=spectools
-VERSION=${VERSION:-2016-01-R1}
+VERSION=${VERSION:-2016_01_R1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=${VERSION//_/-}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -59,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.xz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/ham/spectools/spectools.info b/ham/spectools/spectools.info
index 356dc1190c..81ba9d78eb 100644
--- a/ham/spectools/spectools.info
+++ b/ham/spectools/spectools.info
@@ -1,5 +1,5 @@
PRGNAM="spectools"
-VERSION="2016-01-R1"
+VERSION="2016_01_R1"
HOMEPAGE="https://www.kismetwireless.net/static/spectools/"
DOWNLOAD="https://www.kismetwireless.net/code/spectools-2016-01-R1.tar.xz"
MD5SUM="d1e3d8ea692f3fd4e632c2fe6b0d5a9f"