aboutsummaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-10-11 17:47:43 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-17 09:37:01 +0700
commit7b5222731d911d92ce706ff96442798ec0521702 (patch)
tree9b077703ab50fa4dd777b6df09bcd0aab71847df /ham
parent1862b7607d638ad0f533b615d95491c0bd3721e9 (diff)
ham/spectools: No dashes in VERSION, people!.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham')
-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 2a280f07a9309..f8130581ab257 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 e0f0a778fcdf6..5f2d7aa06be30 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 356dc1190c03f..81ba9d78ebb97 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"