summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorAlan Aversa <alan.aveNOrsaSP@AMcox.net (remove NO and SPAM)>2022-03-07 05:57:06 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-08 09:46:13 +0700
commitc250a757dfd312fe321a1d224c029dad9d8e4256 (patch)
treebf107d010fdf7b54aba9186699562ea2111f5b99 /ham
parent7a7395714ff581c83a4870f6d7ad59c461499279 (diff)
downloadslackbuilds-c250a757dfd312fe321a1d224c029dad9d8e4256.tar.gz
ham/SoapySDR: Updated for version 0.8.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham')
-rw-r--r--ham/SoapySDR/SoapySDR.SlackBuild9
-rw-r--r--ham/SoapySDR/SoapySDR.info6
2 files changed, 6 insertions, 9 deletions
diff --git a/ham/SoapySDR/SoapySDR.SlackBuild b/ham/SoapySDR/SoapySDR.SlackBuild
index d42eee8d0f..b0c8e26b68 100644
--- a/ham/SoapySDR/SoapySDR.SlackBuild
+++ b/ham/SoapySDR/SoapySDR.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=SoapySDR
-VERSION=${VERSION:-0.7.2}
+VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,8 +81,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i -e 's#share/man#man#' apps/CMakeLists.txt
-
mkdir -p build
cd build
cmake \
@@ -90,7 +88,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DENABLE_PYTHON3:BOOL=OFF \
+ -DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -99,8 +97,7 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.md LICENSE_1_0.txt Changelog.txt $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/ham/SoapySDR/SoapySDR.info b/ham/SoapySDR/SoapySDR.info
index 80c19c1525..28e0ba84ad 100644
--- a/ham/SoapySDR/SoapySDR.info
+++ b/ham/SoapySDR/SoapySDR.info
@@ -1,8 +1,8 @@
PRGNAM="SoapySDR"
-VERSION="0.7.2"
+VERSION="0.8.1"
HOMEPAGE="https://github.com/pothosware/SoapySDR"
-DOWNLOAD="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-0.7.2/SoapySDR-soapy-sdr-0.7.2.tar.gz"
-MD5SUM="9e9f935ec967b746b1549a6456714085"
+DOWNLOAD="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-0.8.1/SoapySDR-soapy-sdr-0.8.1.tar.gz"
+MD5SUM="64fbfc0ed4c4fa4dd3c4fe91ebb8c1c3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""