aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gnuradio/gnuradio_3.2.0.bb
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2009-06-01 21:16:53 -0400
committerPhilip Balister <philip@balister.org>2009-06-02 06:25:36 -0400
commit1679705e3c22180b39126fdfa8a39c02e550b450 (patch)
tree759f0a17f592662e3841dba1d787fdda6e2a0c8f /recipes/gnuradio/gnuradio_3.2.0.bb
parente7e2326e82ca4243f520501584bee76d4689ae61 (diff)
downloadopenembedded-1679705e3c22180b39126fdfa8a39c02e550b450.tar.gz
openembedded-1679705e3c22180b39126fdfa8a39c02e550b450.tar.bz2
openembedded-1679705e3c22180b39126fdfa8a39c02e550b450.zip
gnuradio-3.2.0 : Add recipe for new release of gnuradio.
Diffstat (limited to 'recipes/gnuradio/gnuradio_3.2.0.bb')
-rw-r--r--recipes/gnuradio/gnuradio_3.2.0.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/gnuradio/gnuradio_3.2.0.bb b/recipes/gnuradio/gnuradio_3.2.0.bb
new file mode 100644
index 0000000000..69703a5d26
--- /dev/null
+++ b/recipes/gnuradio/gnuradio_3.2.0.bb
@@ -0,0 +1,27 @@
+require gnuradio.inc
+
+DEPENDS += " gsl "
+
+PR = "r0"
+
+S = "${WORKDIR}/gnuradio-3.2"
+
+EXTRA_OECONF += "--with-boost=${STAGING_DIR_TARGET}/usr CXXFLAGS=-DBOOST_SP_USE_PTHREADS --disable--usrp2"
+
+SRC_URI = "ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-3.2.tar.gz \
+ file://no-usrp2.patch;patch=1 \
+ file://gnuradio-neon.patch;patch=1;pnum=0 \
+ ${SOURCEFORGE_MIRROR}/libusb/libusb-0.1.12.tar.gz \
+"
+
+# This is an awful hack to allow GNU Radio to use libusb-0.12, regardless
+# of what is used by the rest of OE
+
+addtask buildlibusb before do_configure after do_unpack
+
+do_compile_append() {
+ sed -i -e s:${STAGING_DIR_TARGET}::g \
+ -e s:/${TARGET_SYS}::g \
+ gnuradio-core/gnuradio-core.pc
+}
+