diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-06-22 23:26:27 +0400 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2009-06-22 23:26:27 +0400 |
commit | 0dcaad77742245477b34542b49c66e91d16a147d (patch) | |
tree | 39d249bcd89e10b7536a887722e78a354d8c7801 /recipes/gnuradio/gnuradio.inc | |
parent | 0319a593f77ce050606bc3aa469f607ae1b69870 (diff) | |
parent | adb9174a2feaf3718b72256adc35580313f328c7 (diff) |
Merge branch 'org.openembedded.dev' of git://git.openembedded.org/openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/gnuradio/gnuradio.inc')
-rw-r--r-- | recipes/gnuradio/gnuradio.inc | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/recipes/gnuradio/gnuradio.inc b/recipes/gnuradio/gnuradio.inc index b1c83b4ab1..80536e7f86 100644 --- a/recipes/gnuradio/gnuradio.inc +++ b/recipes/gnuradio/gnuradio.inc @@ -1,8 +1,9 @@ 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" +LICENSE = "GPLv3" +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 \ |