summaryrefslogtreecommitdiff
path: root/source/n/bluez-hcidump/bluez-hcidump.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/bluez-hcidump/bluez-hcidump.SlackBuild')
-rwxr-xr-xsource/n/bluez-hcidump/bluez-hcidump.SlackBuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/n/bluez-hcidump/bluez-hcidump.SlackBuild b/source/n/bluez-hcidump/bluez-hcidump.SlackBuild
index e03037ab..247e67dc 100755
--- a/source/n/bluez-hcidump/bluez-hcidump.SlackBuild
+++ b/source/n/bluez-hcidump/bluez-hcidump.SlackBuild
@@ -22,7 +22,7 @@
PKGNAM=bluez-hcidump
-VERSION=${VERSION:-2.0}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j7 "}
@@ -76,7 +76,6 @@ CFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/man \
- --disable-static \
--build=$ARCH-slackware-linux
# Build and install: