diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
commit | c58cc7d3796dcee6e93885c835ed04cb566abeb2 (patch) | |
tree | 3eea4d4ef6a4ef79e0f4e025d7012c1a5cc38835 /meta-oe/recipes-connectivity/gnuradio | |
parent | eec6ab97f712e06eb52c9f7c99e19ffab3ce9d74 (diff) | |
download | meta-openembedded-contrib-c58cc7d3796dcee6e93885c835ed04cb566abeb2.tar.gz |
move layer into meta-oe in preparation for future splits
As per TSC decision
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-connectivity/gnuradio')
-rw-r--r-- | meta-oe/recipes-connectivity/gnuradio/gnuradio.inc | 46 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb | 16 |
2 files changed, 62 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/gnuradio/gnuradio.inc b/meta-oe/recipes-connectivity/gnuradio/gnuradio.inc new file mode 100644 index 0000000000..d114f89eac --- /dev/null +++ b/meta-oe/recipes-connectivity/gnuradio/gnuradio.inc @@ -0,0 +1,46 @@ +DESCRIPTION = "GNU Radio" +URL = "http://gnuradio.org" +SECTION = "apps" +PRIORITY = "optional" +LICENSE = "GPLv3" +DEPENDS = "uhd gsl guile-native fftwf python alsa-lib boost cppunit swig-native python-numpy" +INC_PR = "r8" + +inherit distutils-base autotools pkgconfig + +export BUILD_SYS +export HOST_SYS=${MULTIMACH_TARGET_SYS} + +EXTRA_OECONF = " \ + --program-prefix= \ + --disable-gr-atsc \ + --enable-gr-audio-alsa \ + --disable-gr-audio-jack \ + --disable-html-docs \ + --with-boost=${STAGING_DIR_TARGET}/usr \ + --disable-usrp1 \ + --disable-usrp2 \ + --with-pythondir=${PYTHON_SITEPACKAGES_DIR} \ + PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR} \ +" + +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 \ +" + +PACKAGES =+ "\ + ${PN}-examples \ + ${PN}-grc \ + ${PN}-conf \ +" + +FILES_${PN}-examples = "${datadir}/gnuradio/examples" +FILES_${PN}-grc = "${datadir}/gnuradio/grc" +FILES_${PN}-conf = "${sysconfdir}/gnuradio" + +FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/gnuradio/*" +FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/gnuradio/.debug \ + ${PYTHON_SITEPACKAGES_DIR}/gnuradio/*/.debug \ + " + diff --git a/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb b/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb new file mode 100644 index 0000000000..757a80136d --- /dev/null +++ b/meta-oe/recipes-connectivity/gnuradio/gnuradio_git.bb @@ -0,0 +1,16 @@ +require gnuradio.inc + +PR = "${INC_PR}.1" +PV = "3.3.0-${PR}+gitr${SRCREV}" + +SRCREV = "cdca1c917626f7c63f820da921a17187efc92cd5" + +# Make it easy to test against developer repos and branches +GIT_REPO = "gnuradio.git" +GIT_BRANCH = "next" + +SRC_URI = "git://gnuradio.org/git/${GIT_REPO};branch=${GIT_BRANCH};protocol=http \ +" + +S="${WORKDIR}/git" + |