aboutsummaryrefslogtreecommitdiff
path: root/ham/rtl-sdr/rtl-sdr.SlackBuild
diff options
context:
space:
mode:
authorPanagiotis Nikolaou <hostmaster@slackonly.com>2017-02-06 09:28:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-10 07:13:31 +0700
commite499a8cef27da68e244721b68a811c28f187b267 (patch)
tree45571ae67623c4b04eca047a93781326cc83d191 /ham/rtl-sdr/rtl-sdr.SlackBuild
parent53b6b05ac05851fa7c4ebb93bbd29aef1d780153 (diff)
ham/rtl-sdr: Updated for version 2016.11.27.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 4bd0632a59b4c..2bb0b17e7c8d0 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.