summaryrefslogtreecommitdiff
path: root/recipes/gnuradio/gnuradio_svn.bb
blob: 73348bf208023321190540d73b3c58f919f41305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
require gnuradio.inc

DEFAULT_PREFERENCE = "-1"

DEPENDS += " gsl "

PV = "3.1.3+svnr${SRCREV}"
PR = "r7"

EXTRA_OECONF += "--with-boost=${STAGING_DIR_TARGET}/usr CXXFLAGS=-DBOOST_SP_USE_PTHREADS --disable-usrp1 --disable--usrp2"

SRC_URI = "svn://gnuradio.org/svn/gnuradio/;module=trunk;proto=http \
    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


S="${WORKDIR}/trunk"

#do_configure() {
#        ./bootstrap
#        oe_runconf
#}

do_compile_append() {
        sed -i -e s:${STAGING_DIR_TARGET}::g \
               -e s:/${TARGET_SYS}::g \
                  gnuradio-core/gnuradio-core.pc
}