aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-04-28 17:24:14 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-04-28 17:24:55 +0000
commit0cfd6d9e47f71c653fa28dd7bb73fbc53dfb22b9 (patch)
treec93147ffc482ff1f588bae7ca22275f072f59db7 /comms
parent0afc009eecb2ba973d9b8f7351f2b9808b2775dd (diff)
downloadports-0cfd6d9e47f71c653fa28dd7bb73fbc53dfb22b9.tar.gz
ports-0cfd6d9e47f71c653fa28dd7bb73fbc53dfb22b9.zip
misc/soapysdr-rtlsdr: Move to comms/soapysdr-rtlsdr
Diffstat (limited to 'comms')
-rw-r--r--comms/Makefile1
-rw-r--r--comms/soapysdr-rtlsdr/Makefile22
-rw-r--r--comms/soapysdr-rtlsdr/distinfo3
-rw-r--r--comms/soapysdr-rtlsdr/pkg-descr7
4 files changed, 33 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index f21011815fd2..dfde5f36c6b8 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -169,6 +169,7 @@
SUBDIR += soapyplutosdr
SUBDIR += soapyredpitaya
SUBDIR += soapyremote
+ SUBDIR += soapysdr-rtlsdr
SUBDIR += soapysdrhackrf
SUBDIR += soapyuhd
SUBDIR += spandsp
diff --git a/comms/soapysdr-rtlsdr/Makefile b/comms/soapysdr-rtlsdr/Makefile
new file mode 100644
index 000000000000..bfdd9644ca53
--- /dev/null
+++ b/comms/soapysdr-rtlsdr/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= SoapyRTLSDR
+DISTVERSIONPREFIX= soapy-rtl-sdr-
+DISTVERSION= 0.3.2
+PORTREVISION= 1
+CATEGORIES= comms hamradio
+
+MAINTAINER= hamradio@FreeBSD.org
+COMMENT= Soapy SDR module for RTLSDR
+
+LICENSE= BSL
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+LIB_DEPENDS= libSoapySDR.so:misc/soapysdr \
+ librtlsdr.so:comms/rtl-sdr
+
+USES= cmake compiler:c++11-lang
+USE_GITHUB= yes
+GH_ACCOUNT= pothosware
+
+PLIST_FILES= lib/SoapySDR/modules0.8/librtlsdrSupport.so
+
+.include <bsd.port.mk>
diff --git a/comms/soapysdr-rtlsdr/distinfo b/comms/soapysdr-rtlsdr/distinfo
new file mode 100644
index 000000000000..04d81e4e5ce1
--- /dev/null
+++ b/comms/soapysdr-rtlsdr/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1611693953
+SHA256 (pothosware-SoapyRTLSDR-soapy-rtl-sdr-0.3.2_GH0.tar.gz) = d0335684179d5b0357213cc786a78d7b6dc5728de7af9dcbf6364b17e62cef02
+SIZE (pothosware-SoapyRTLSDR-soapy-rtl-sdr-0.3.2_GH0.tar.gz) = 16033
diff --git a/comms/soapysdr-rtlsdr/pkg-descr b/comms/soapysdr-rtlsdr/pkg-descr
new file mode 100644
index 000000000000..fbeb3c09fbc0
--- /dev/null
+++ b/comms/soapysdr-rtlsdr/pkg-descr
@@ -0,0 +1,7 @@
+This is the SoapySDR module for RTLSDR, an open source software defined radio
+(SDR) platform.
+
+SoapySDR is an open-source generalized C/C++ API and runtime library for
+interfacing with SDR devices.
+
+WWW: https://github.com/pothosware/SoapySDR