aboutsummaryrefslogtreecommitdiff
path: root/ham/SDRPlay
diff options
context:
space:
mode:
Diffstat (limited to 'ham/SDRPlay')
-rw-r--r--ham/SDRPlay/SDRPlay.SlackBuild17
-rw-r--r--ham/SDRPlay/SDRPlay.info6
2 files changed, 17 insertions, 6 deletions
diff --git a/ham/SDRPlay/SDRPlay.SlackBuild b/ham/SDRPlay/SDRPlay.SlackBuild
index 90c9c3b587ed..b35668b45a48 100644
--- a/ham/SDRPlay/SDRPlay.SlackBuild
+++ b/ham/SDRPlay/SDRPlay.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SDRPlay
-VERSION=${VERSION:-2.13.1}
+VERSION=${VERSION:-3.07.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -62,6 +62,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
+sh $CWD/SDRplay_RSP_API-Linux-2.13.1.run --tar xvf
sh $CWD/SDRplay_RSP_API-Linux-$VERSION.run --tar xvf
chown -R root:root .
find -L . \
@@ -73,13 +74,23 @@ find -L . \
VERS="2.13"
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
-install -m644 ${ARCH}/libmirsdrapi-rsp.so.${VERS} $PKG/usr/lib$LIBDIRSUFFIX
+install -m755 ${ARCH}/libmirsdrapi-rsp.so.${VERS} $PKG/usr/lib$LIBDIRSUFFIX
ln -s libmirsdrapi-rsp.so.${VERS} $PKG/usr/lib$LIBDIRSUFFIX/libmirsdrapi-rsp.so.2
ln -s libmirsdrapi-rsp.so.2 $PKG/usr/lib$LIBDIRSUFFIX/libmirsdrapi-rsp.so
mkdir -p $PKG/usr/include
install -m644 mirsdrapi-rsp.h $PKG/usr/include
+VERS="3.07"
+
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
+install -m755 ${ARCH}/libsdrplay_api.so.${VERS} $PKG/usr/lib$LIBDIRSUFFIX
+ln -s libsdrplay_api.so.${VERS} $PKG/usr/lib$LIBDIRSUFFIX/libsdrplay_api.so.2
+ln -s libsdrplay_api.so.2 $PKG/usr/lib$LIBDIRSUFFIX/libsdrplay_api.so
+
+mkdir -p $PKG/usr/include
+install -m644 inc/*.h $PKG/usr/include
+
mkdir -p $PKG/etc/udev/rules.d/
install -m644 66-mirics.rules $PKG/etc/udev/rules.d/66-mirics.rules
@@ -88,7 +99,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a sdrplay_license.txt $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/${PRGNAM}.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/ham/SDRPlay/SDRPlay.info b/ham/SDRPlay/SDRPlay.info
index fc53d87e9833..37067add2300 100644
--- a/ham/SDRPlay/SDRPlay.info
+++ b/ham/SDRPlay/SDRPlay.info
@@ -1,8 +1,8 @@
PRGNAM="SDRPlay"
-VERSION="2.13.1"
+VERSION="3.07.1"
HOMEPAGE="http://www.sdrplay.com/software/"
-DOWNLOAD="http://www.sdrplay.com/software/SDRplay_RSP_API-Linux-2.13.1.run"
-MD5SUM="6a394db7d5770f11442023ce3ab0ba66"
+DOWNLOAD="http://www.sdrplay.com/software/SDRplay_RSP_API-Linux-2.13.1.run http://www.sdrplay.com/software/SDRplay_RSP_API-Linux-3.07.1.run"
+MD5SUM="6a394db7d5770f11442023ce3ab0ba66 41fea62ae45d76aaafd6437483386d7f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""