summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2014-10-13 13:03:35 +0000
committermef <mef@pkgsrc.org>2014-10-13 13:03:35 +0000
commit3a14b6091169000913b07861cd1c60d743a762d5 (patch)
tree382d25035ed8f99a36f5f4d705b5a42eb90b2d7e /ham
parent1ad93e083f2289e1a55845223175c088d8bb889e (diff)
downloadpkgsrc-3a14b6091169000913b07861cd1c60d743a762d5.tar.gz
Import OsmoSDR as osmo-sdr-0.1
OsmoSDR is a 100% Free Software based small form-factor inexpensive SDR (Software Defined Radio) project. ====================================================================== For more information see: http://sdr.osmocom.org
Diffstat (limited to 'ham')
-rw-r--r--ham/osmo-sdr/DESCR5
-rw-r--r--ham/osmo-sdr/Makefile31
-rw-r--r--ham/osmo-sdr/PLIST159
-rw-r--r--ham/osmo-sdr/buildlink3.mk13
-rw-r--r--ham/osmo-sdr/distinfo5
5 files changed, 213 insertions, 0 deletions
diff --git a/ham/osmo-sdr/DESCR b/ham/osmo-sdr/DESCR
new file mode 100644
index 00000000000..b14434cac20
--- /dev/null
+++ b/ham/osmo-sdr/DESCR
@@ -0,0 +1,5 @@
+OsmoSDR is a 100% Free Software based small form-factor inexpensive
+SDR (Software Defined Radio) project.
+======================================================================
+For more information see:
+http://sdr.osmocom.org
diff --git a/ham/osmo-sdr/Makefile b/ham/osmo-sdr/Makefile
new file mode 100644
index 00000000000..479de7e7be1
--- /dev/null
+++ b/ham/osmo-sdr/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2014/10/13 13:03:35 mef Exp $
+
+DISTNAME= osmo-sdr-0.1
+CATEGORIES= ham
+MASTER_SITES+= http://git.osmocom.org/osmo-sdr/snapshot/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://sdr.osmocom.org/trac/
+COMMENT= Small form-factor inexpensive SDR (Software Defined Radio)
+LICENSE= gnu-gpl-v2
+
+USE_LANGUAGES= c c++
+USE_TOOLS= cmake perl pkg-config tar
+USE_CMAKE= yes
+
+#WRKSRC= ${WRKDIR}/osmo-sdr-0.1
+# Suppress warning for developer
+CMAKE_ARGS+= -Wno-dev
+
+REPLACE_PERL+= utils/e4000_distance.pl
+REPLACE_PERL+= utils/e4000_pl.pl
+
+CONFIGURE_DIRS= software/libosmosdr
+AUTO_MKDIRS= yes
+
+post-install:
+ (cd ${WRKSRC}; tar cf - firmware fpga hardware utils | \
+ (cd ${DESTDIR}${PREFIX}/share/osmo-sdr ; tar xf - ) )
+
+.include "../../devel/libusb1/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ham/osmo-sdr/PLIST b/ham/osmo-sdr/PLIST
new file mode 100644
index 00000000000..08d464bde2a
--- /dev/null
+++ b/ham/osmo-sdr/PLIST
@@ -0,0 +1,159 @@
+@comment $NetBSD: PLIST,v 1.1 2014/10/13 13:03:35 mef Exp $
+bin/osmo_sdr
+include/osmosdr.h
+include/osmosdr_export.h
+lib/libosmosdr.a
+lib/libosmosdr.so
+lib/libosmosdr.so.0
+lib/libosmosdr.so.0.0.0
+lib/pkgconfig/libosmosdr.pc
+share/osmo-sdr/firmware/.gitignore
+share/osmo-sdr/firmware/README
+share/osmo-sdr/firmware/include/common.h
+share/osmo-sdr/firmware/include/fast_source.h
+share/osmo-sdr/firmware/include/fast_source_descr.h
+share/osmo-sdr/firmware/include/linuxlist.h
+share/osmo-sdr/firmware/include/logging.h
+share/osmo-sdr/firmware/include/osdr_fpga.h
+share/osmo-sdr/firmware/include/osdr_ssc.h
+share/osmo-sdr/firmware/include/reg_field.h
+share/osmo-sdr/firmware/include/req_ctx.h
+share/osmo-sdr/firmware/include/si570.h
+share/osmo-sdr/firmware/include/tuner_e4k.h
+share/osmo-sdr/firmware/include/uart_cmd.h
+share/osmo-sdr/firmware/osmosdr-project/Makefile
+share/osmo-sdr/firmware/osmosdr-project/bin/.empty_dir
+share/osmo-sdr/firmware/osmosdr-project/main.c
+share/osmo-sdr/firmware/osmosdr-project/obj/.empty_dir
+share/osmo-sdr/firmware/src/fast_source.c
+share/osmo-sdr/firmware/src/fast_source_descr.c
+share/osmo-sdr/firmware/src/logging.c
+share/osmo-sdr/firmware/src/osdr_fpga.c
+share/osmo-sdr/firmware/src/osdr_ssc.c
+share/osmo-sdr/firmware/src/reg_field.c
+share/osmo-sdr/firmware/src/req_ctx.c
+share/osmo-sdr/firmware/src/si570.c
+share/osmo-sdr/firmware/src/tuner_e4k.c
+share/osmo-sdr/firmware/src/tuner_e4k_transport.c
+share/osmo-sdr/firmware/src/uart_cmd.c
+share/osmo-sdr/firmware/tests/Makefile
+share/osmo-sdr/firmware/tests/cmd-test.c
+share/osmo-sdr/firmware/tests/tuner-test.c
+share/osmo-sdr/firmware/usb-dfu-project/Makefile
+share/osmo-sdr/firmware/usb-dfu-project/README
+share/osmo-sdr/firmware/usb-dfu-project/bin/.empty_dir
+share/osmo-sdr/firmware/usb-dfu-project/dfu_desc.h
+share/osmo-sdr/firmware/usb-dfu-project/hardware.c
+share/osmo-sdr/firmware/usb-dfu-project/hardware.h
+share/osmo-sdr/firmware/usb-dfu-project/main.c
+share/osmo-sdr/firmware/usb-dfu-project/obj/.empty_dir
+share/osmo-sdr/firmware/usb-dfu-project/opcode.h
+share/osmo-sdr/firmware/usb-dfu-project/sam3u_chipid_usbserial.c
+share/osmo-sdr/firmware/usb-dfu-project/slimpro.c
+share/osmo-sdr/firmware/usb-dfu-project/usb_strings.h
+share/osmo-sdr/firmware/usb-dfu-project/usb_strings.txt
+share/osmo-sdr/firmware/usb-fast-audio-source/AUDDFastSourceDescriptors.c
+share/osmo-sdr/firmware/usb-fast-audio-source/AUDDFastSourceDescriptors.h
+share/osmo-sdr/firmware/usb-fast-audio-source/Makefile
+share/osmo-sdr/firmware/usb-fast-audio-source/README
+share/osmo-sdr/firmware/usb-fast-audio-source/bin/.empty_dir
+share/osmo-sdr/firmware/usb-fast-audio-source/fast_source.c
+share/osmo-sdr/firmware/usb-fast-audio-source/fast_source.h
+share/osmo-sdr/firmware/usb-fast-audio-source/main.c
+share/osmo-sdr/firmware/usb-fast-audio-source/obj/.empty_dir
+share/osmo-sdr/firmware/utils/usbstring.c
+share/osmo-sdr/fpga/hw-v2/Edfmap.ini
+share/osmo-sdr/fpga/hw-v2/bde.set
+share/osmo-sdr/fpga/hw-v2/compilation.order
+share/osmo-sdr/fpga/hw-v2/compile.cfg
+share/osmo-sdr/fpga/hw-v2/deploy/usbrx.xcf
+share/osmo-sdr/fpga/hw-v2/deploy/usbrx_algo.vme
+share/osmo-sdr/fpga/hw-v2/deploy/usbrx_data.vme
+share/osmo-sdr/fpga/hw-v2/deploy/usbrx_fpga_regs.odt
+share/osmo-sdr/fpga/hw-v2/deploy/usbrx_fpga_regs.pdf
+share/osmo-sdr/fpga/hw-v2/diamond/.run_manager.ini
+share/osmo-sdr/fpga/hw-v2/diamond/.setting.ini
+share/osmo-sdr/fpga/hw-v2/diamond/Strategy1.sty
+share/osmo-sdr/fpga/hw-v2/diamond/reportview.xml
+share/osmo-sdr/fpga/hw-v2/diamond/usbrx_vhdl.ldf
+share/osmo-sdr/fpga/hw-v2/diamond/usbrx_vhdl.lpf
+share/osmo-sdr/fpga/hw-v2/diamond/usbrx_vhdl.pty
+share/osmo-sdr/fpga/hw-v2/library.cfg
+share/osmo-sdr/fpga/hw-v2/projlib.cfg
+share/osmo-sdr/fpga/hw-v2/src/mt_filter/mt_fil_mac_slow.vhd
+share/osmo-sdr/fpga/hw-v2/src/mt_filter/mt_fil_storage_slow.vhd
+share/osmo-sdr/fpga/hw-v2/src/mt_filter/mt_filter.vhd
+share/osmo-sdr/fpga/hw-v2/src/mt_filter/mt_fir_symmetric_slow.vhd
+share/osmo-sdr/fpga/hw-v2/src/mt_toolbox/mt_clktools.vhd
+share/osmo-sdr/fpga/hw-v2/src/mt_toolbox/mt_synctools.vhd
+share/osmo-sdr/fpga/hw-v2/src/mt_toolbox/mt_toolbox.vhd
+share/osmo-sdr/fpga/hw-v2/src/testbench/tb_filter.vhd
+share/osmo-sdr/fpga/hw-v2/src/testbench/tb_usbrx.vhd
+share/osmo-sdr/fpga/hw-v2/src/usbrx/datapath/usbrx_ad7357.vhd
+share/osmo-sdr/fpga/hw-v2/src/usbrx/datapath/usbrx_decimate.vhd
+share/osmo-sdr/fpga/hw-v2/src/usbrx/datapath/usbrx_offset.vhd
+share/osmo-sdr/fpga/hw-v2/src/usbrx/datapath/usbrx_ssc.vhd
+share/osmo-sdr/fpga/hw-v2/src/usbrx/filter/usbrx_halfband.vhd
+share/osmo-sdr/fpga/hw-v2/src/usbrx/toplevel/usbrx_clkgen.vhd
+share/osmo-sdr/fpga/hw-v2/src/usbrx/toplevel/usbrx_clkref.vhd
+share/osmo-sdr/fpga/hw-v2/src/usbrx/toplevel/usbrx_gpio.vhd
+share/osmo-sdr/fpga/hw-v2/src/usbrx/toplevel/usbrx_pwm.vhd
+share/osmo-sdr/fpga/hw-v2/src/usbrx/toplevel/usbrx_regbank.vhd
+share/osmo-sdr/fpga/hw-v2/src/usbrx/toplevel/usbrx_spi.vhd
+share/osmo-sdr/fpga/hw-v2/src/usbrx/toplevel/usbrx_toplevel.vhd
+share/osmo-sdr/fpga/hw-v2/src/usbrx/usbrx.vhd
+share/osmo-sdr/fpga/hw-v2/stimulators.set
+share/osmo-sdr/fpga/hw-v2/synthesis.order
+share/osmo-sdr/fpga/hw-v2/usbrx_vhdl.adf
+share/osmo-sdr/fpga/hw-v2/usbrx_vhdl.aws
+share/osmo-sdr/hardware/components/Analog Devices AD7357.pdf
+share/osmo-sdr/hardware/components/Atmel SAM3U.pdf
+share/osmo-sdr/hardware/components/Lattice XP2 Datasheet.pdf
+share/osmo-sdr/hardware/components/Lattice XP2 Handbook.pdf
+share/osmo-sdr/hardware/components/Silicon Labs SI570.pdf
+share/osmo-sdr/hardware/design/osmo_sdr_block.png
+share/osmo-sdr/hardware/design/osmo_sdr_block.svg
+share/osmo-sdr/hardware/design/v1/USB-WideBand-RX - FPGA.pdf
+share/osmo-sdr/hardware/design/v1/USB-WideBand-RX - MCU&PS.pdf
+share/osmo-sdr/hardware/design/v1/USB-WideBand-RX - PCB.pdf
+share/osmo-sdr/hardware/design/v1/USB-WideBand-RX - RF&ADC.pdf
+share/osmo-sdr/hardware/design/v2/USB-SDR_V2.pdf
+share/osmo-sdr/hardware/design/v2/USB-WideBand-RX - FPGA_V2.pdf
+share/osmo-sdr/hardware/design/v2/USB-WideBand-RX - MCU&PS_V2.pdf
+share/osmo-sdr/hardware/design/v2/USB-WideBand-RX - RF & ADC_V2.pdf
+share/osmo-sdr/utils/check_ctr.c
+share/osmo-sdr/utils/e4000_distance.pl
+share/osmo-sdr/utils/e4000_pl.pl
+share/osmo-sdr/utils/osmosdr-sweep/Makefile
+share/osmo-sdr/utils/osmosdr-sweep/libportaudio.a
+share/osmo-sdr/utils/osmosdr-sweep/portaudio.diff
+share/osmo-sdr/utils/osmosdr-sweep/src/main.c
+share/osmo-sdr/utils/osmosdr-sweep/src/serial.c
+share/osmo-sdr/utils/osmosdr-sweep/src/serial.h
+share/osmo-sdr/utils/osmosdr-sweep/src/utils.c
+share/osmo-sdr/utils/osmosdr-sweep/src/utils.h
+share/osmo-sdr/utils/rum-ba/Makefile
+share/osmo-sdr/utils/rum-ba/build-win32.bat
+share/osmo-sdr/utils/rum-ba/src/lattice/hardware.c
+share/osmo-sdr/utils/rum-ba/src/lattice/hardware.h
+share/osmo-sdr/utils/rum-ba/src/lattice/opcode.h
+share/osmo-sdr/utils/rum-ba/src/lattice/slim_pro.c
+share/osmo-sdr/utils/rum-ba/src/lattice/slim_vme.c
+share/osmo-sdr/utils/rum-ba/src/main.c
+share/osmo-sdr/utils/rum-ba/src/osmosdr.c
+share/osmo-sdr/utils/rum-ba/src/osmosdr.h
+share/osmo-sdr/utils/rum-ba/src/sam3u.c
+share/osmo-sdr/utils/rum-ba/src/sam3u.h
+share/osmo-sdr/utils/rum-ba/src/serial.c
+share/osmo-sdr/utils/rum-ba/src/serial.h
+share/osmo-sdr/utils/rum-ba/src/utils.c
+share/osmo-sdr/utils/rum-ba/src/utils.h
+share/osmo-sdr/utils/vmelinearize/Makefile
+share/osmo-sdr/utils/vmelinearize/src/hardware.c
+share/osmo-sdr/utils/vmelinearize/src/hardware.h
+share/osmo-sdr/utils/vmelinearize/src/main.c
+share/osmo-sdr/utils/vmelinearize/src/opcode.h
+share/osmo-sdr/utils/vmelinearize/src/slim_pro.c
+share/osmo-sdr/utils/vmelinearize/src/slim_vme.c
+share/osmo-sdr/utils/vmelinearize/src/utils.c
+share/osmo-sdr/utils/vmelinearize/src/utils.h
diff --git a/ham/osmo-sdr/buildlink3.mk b/ham/osmo-sdr/buildlink3.mk
new file mode 100644
index 00000000000..8497b0c3871
--- /dev/null
+++ b/ham/osmo-sdr/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/10/13 13:03:35 mef Exp $
+
+BUILDLINK_TREE+= osmo-sdr
+
+.if !defined(OSMO_SDR_BUILDLINK3_MK)
+OSMO_SDR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.osmo-sdr+= osmo-sdr>=0.1
+BUILDLINK_ABI_DEPENDS.osmo-sdr+= osmo-sdr>=0.1
+BUILDLINK_PKGSRCDIR.osmo-sdr?= ../../ham/osmo-sdr
+.endif # OSMO_SDR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -osmo-sdr
diff --git a/ham/osmo-sdr/distinfo b/ham/osmo-sdr/distinfo
new file mode 100644
index 00000000000..d0c6d421bcf
--- /dev/null
+++ b/ham/osmo-sdr/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/10/13 13:03:35 mef Exp $
+
+SHA1 (osmo-sdr-0.1.tar.gz) = 5b37357dc9bab99f4f829ccd1cfab1e562c20ace
+RMD160 (osmo-sdr-0.1.tar.gz) = c344e1d592cdc413a6c3952bb6574821daee2a76
+Size (osmo-sdr-0.1.tar.gz) = 29823289 bytes