ham/SDRPlay: Updated for version 3.07.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
alan.aveNOrsaSP@AMcox.net 2023-12-10 12:44:31 +07:00 committed by Willy Sudiarto Raharjo
parent cb87aa3e0d
commit feba2712c4
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 17 additions and 6 deletions

View file

@ -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

View file

@ -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=""