diff options
author | Philip Balister <philip@balister.org> | 2009-06-21 16:24:56 -0400 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2009-06-21 16:27:10 -0400 |
commit | 0d0f3330bf90e5007625ee460682e239a63b574d (patch) | |
tree | 116b361e9cfa2c0b8c0af5a877a15c693e5bf738 /recipes/gnuradio/gnuradio.inc | |
parent | b9ec2bc1ec50b54fc993bbb9da81c71683f1041d (diff) |
gnuradio : Update .inc file and other updates
* Convert PR to use INC_PR
* All recipes now use private copy of libusb_0.1.12 so usrp works
* Move more stuff into the .inc file
* Fix program-prefix
Diffstat (limited to 'recipes/gnuradio/gnuradio.inc')
-rw-r--r-- | recipes/gnuradio/gnuradio.inc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/recipes/gnuradio/gnuradio.inc b/recipes/gnuradio/gnuradio.inc index b1c83b4ab1..85fd5a16b6 100644 --- a/recipes/gnuradio/gnuradio.inc +++ b/recipes/gnuradio/gnuradio.inc @@ -2,7 +2,8 @@ DESCRIPTION = "GNU Radio" SECTION = "apps" PRIORITY = "optional" LICENSE = "GPL" -DEPENDS = "guile-native fftwf python virtual/libsdl alsa-lib jack boost cppunit sdcc-native swig-native python-numpy" +DEPENDS = "libusb guile-native fftwf python virtual/libsdl alsa-lib jack boost cppunit sdcc-native swig-native python-numpy" +INC_PR = "r7" inherit distutils-base autotools autotools_stage pkgconfig @@ -12,6 +13,7 @@ export HOST_SYS=${MULTIMACH_TARGET_SYS} CXXFLAGS_powerpc += "-lstdc++" EXTRA_OECONF = " \ + --program-prefix= \ ${GR_CPU_SELECTION} \ --disable-gr-atsc \ --enable-gr-video-sdl \ @@ -43,6 +45,9 @@ do_buildlibusb() { cd ${WORKDIR} } +addtask buildlibusb before do_configure after do_unpack + +do_buildlibusb[deptask] = "do_populate_staging" do_configure_prepend() { if [ -e ${WORKDIR}/acinclude.m4 ] ; then @@ -54,6 +59,11 @@ do_configure_append() { find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':'-I${STAGING_INCDIR}':g } +do_stage() { + autotools_stage_all + sed -i s,-l:libusb-gnur.a,,g ${STAGING_LIBDIR}/libusrp.la +} + RDEPENDS_${PN} = "python-core python-audio python-threading python-codecs python-lang python-textutils \ python-shell python-pickle python-compiler python-pkgutil python-pydoc python-mmap \ python-netclient python-unittest python-difflib python-pprint python-numpy \ |