summaryrefslogtreecommitdiff
path: root/ham/rtl-sdr/rtl-sdr.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ham/rtl-sdr/rtl-sdr.SlackBuild')
-rw-r--r--ham/rtl-sdr/rtl-sdr.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/ham/rtl-sdr/rtl-sdr.SlackBuild b/ham/rtl-sdr/rtl-sdr.SlackBuild
index 4bd0632a59..2bb0b17e7c 100644
--- a/ham/rtl-sdr/rtl-sdr.SlackBuild
+++ b/ham/rtl-sdr/rtl-sdr.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for rtl-sdr
-# Copyright 2015 Panagiotis Nikolaou, Karlovasi Samos, Gr
+# Copyright 2015-2017 Panagiotis Nikolaou, Culver City, CA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -13,7 +13,7 @@
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=rtl-sdr
-VERSION=${VERSION:-0.5.3}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2016.11.27}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -61,7 +61,7 @@ mkdir -p $TMP $PKG $OUTPUT
# Use the dongle as a non-root user.
if [ "${RULES:-no}" == "yes" ]; then
- OPT1="$OPT -DINSTALL_UDEV_RULES=ON"
+ OPT1="OPT -DINSTALL_UDEV_RULES=ON"
fi
# Detaching kernel driver.