OsmoSDR is a 100% Free Software based small form-factor inexpensive SDR

(Software Defined Radio) project.

WWW: http://sdr.osmocom.org/trac
This commit is contained in:
Ganael LAPLANCHE 2013-05-17 13:10:11 +00:00
parent 83d5ed0eb3
commit f48c114a7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318379
6 changed files with 105 additions and 0 deletions

View file

@ -51,6 +51,7 @@
SUBDIR += gnuradio SUBDIR += gnuradio
SUBDIR += gpredict SUBDIR += gpredict
SUBDIR += gpsk31 SUBDIR += gpsk31
SUBDIR += gr-osmosdr
SUBDIR += grig SUBDIR += grig
SUBDIR += gscmxx SUBDIR += gscmxx
SUBDIR += gsmlib SUBDIR += gsmlib

47
comms/gr-osmosdr/Makefile Normal file
View file

@ -0,0 +1,47 @@
# $FreeBSD$
PORTNAME= gr-osmosdr
PORTVERSION= 20130509
CATEGORIES= comms hamradio
MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
LOCAL/martymac
EXTRACT_SUFX= .tgz
MAINTAINER= martymac@FreeBSD.org
COMMENT= GNU Radio OsmoSDR module
LICENSE= GPLv3
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 \
doxygen:${PORTSDIR}/devel/doxygen \
cheetah:${PORTSDIR}/devel/py-cheetah
LIB_DEPENDS= gnuradio-core:${PORTSDIR}/comms/gnuradio \
gnuradio-fcd:${PORTSDIR}/comms/gnuradio \
gruel:${PORTSDIR}/comms/gnuradio \
boost_system:${PORTSDIR}/devel/boost-libs \
boost_thread:${PORTSDIR}/devel/boost-libs
USES= pkgconfig cmake
USE_LDCONFIG= yes
USE_PYTHON= 2.7+
CMAKE_ARGS+= -DENABLE_DEFAULT:BOOL=OFF \
-DENABLE_FCD:BOOL=ON \
-DENABLE_FILE:BOOL=ON
OPTIONS_DEFINE= RTLSDR
RTLSDR_DESC= Enable rtl-sdr (RTL2832) support
OPTIONS_DEFAULT= RTLSDR
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MRTLSDR}
LIB_DEPENDS+= rtlsdr:${PORTSDIR}/comms/rtl-sdr
CMAKE_ARGS+= -DENABLE_RTL:BOOL=ON \
-DENABLE_RTL_TCP:BOOL=ON
.endif
post-install:
${LN} -s libgnuradio-osmosdr.so.0.0.1git ${PREFIX}/lib/libgnuradio-osmosdr.so.0
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (gr-osmosdr-20130509.tgz) = cb05c11c2b36a22105c925dd8bf972bbf1d6af0c4d68753edf0ba702d4dd715d
SIZE (gr-osmosdr-20130509.tgz) = 194496

View file

@ -0,0 +1,19 @@
--- CMakeLists.txt.orig 2012-11-07 18:06:30.000000000 -0500
+++ CMakeLists.txt 2012-11-07 18:07:40.000000000 -0500
@@ -93,6 +93,7 @@
include(GrPlatform) #define LIB_SUFFIX
set(GR_RUNTIME_DIR bin)
set(GR_LIBRARY_DIR lib${LIB_SUFFIX})
+set(GR_LIBDATA_DIR libdata)
set(GR_INCLUDE_DIR include)
set(GR_DATA_DIR share)
set(GR_PKG_DATA_DIR ${GR_DATA_DIR}/${CMAKE_PROJECT_NAME})
@@ -197,7 +198,7 @@
INSTALL(
FILES ${CMAKE_CURRENT_BINARY_DIR}/gnuradio-osmosdr.pc
- DESTINATION ${GR_LIBRARY_DIR}/pkgconfig
+ DESTINATION ${GR_LIBDATA_DIR}/pkgconfig
)
########################################################################

View file

@ -0,0 +1,4 @@
OsmoSDR is a 100% Free Software based small form-factor inexpensive SDR
(Software Defined Radio) project.
WWW: http://sdr.osmocom.org/trac

View file

@ -0,0 +1,32 @@
bin/osmocom_fft
bin/osmocom_siggen
bin/osmocom_siggen_nogui
bin/osmocom_spectrum_sense
include/osmosdr/swig/osmosdr_swig.i
include/osmosdr/swig/osmosdr_swig_doc.i
include/osmosdr/osmosdr_api.h
include/osmosdr/osmosdr_pimpl.h
include/osmosdr/osmosdr_ranges.h
include/osmosdr/osmosdr_device.h
include/osmosdr/osmosdr_sink_c.h
include/osmosdr/osmosdr_source_c.h
lib/libgnuradio-osmosdr.so.0.0.1git
lib/libgnuradio-osmosdr.so.0
lib/libgnuradio-osmosdr.so
libdata/pkgconfig/gnuradio-osmosdr.pc
share/gnuradio/grc/blocks/rtlsdr_source_c.xml
share/gnuradio/grc/blocks/osmosdr_sink_c.xml
share/gnuradio/grc/blocks/osmosdr_source_c.xml
%%PYTHON_SITELIBDIR%%/osmosdr/_osmosdr_swig.so
%%PYTHON_SITELIBDIR%%/osmosdr/osmocom_siggen_base.pyo
%%PYTHON_SITELIBDIR%%/osmosdr/osmocom_siggen_base.pyc
%%PYTHON_SITELIBDIR%%/osmosdr/osmocom_siggen_base.py
%%PYTHON_SITELIBDIR%%/osmosdr/osmosdr_swig.py
%%PYTHON_SITELIBDIR%%/osmosdr/osmosdr_swig.pyc
%%PYTHON_SITELIBDIR%%/osmosdr/osmosdr_swig.pyo
%%PYTHON_SITELIBDIR%%/osmosdr/__init__.py
%%PYTHON_SITELIBDIR%%/osmosdr/__init__.pyc
%%PYTHON_SITELIBDIR%%/osmosdr/__init__.pyo
@dirrm include/osmosdr/swig
@dirrm include/osmosdr
@dirrm %%PYTHON_SITELIBDIR%%/osmosdr