summaryrefslogtreecommitdiff
path: root/recipes/sdr/sdrshell_svn.bb
blob: e5ceb13fa6184cf48da474f5a85a9c4abe85a48b (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
DESCRIPTION = "SDR-Shell is Qt GUI for the sdr-core (DttSP) Software Defined Radio"
LICENSE = "GPLv2"

DEPENDS = "dttsp"

inherit qmake qt3x11 

SRCREV = "57"
PV = "${SRCREV}"

SRC_URI = "svn://sdr-shell.googlecode.com/svn/branches;module=sdr-shell-v2;proto=http \
           file://gcc-43-fix.patch;striplevel=0"
S = "${WORKDIR}/sdr-shell-v2"

PARALLEL_MAKE = ""

do_configure_prepend() {
	rm -f ${S}/sdr-shell
}

do_compile_prepend() {
	sed -i -e s:OE_QMAKE_LINK:CXX:g ${S}/Makefile
}

do_install() {
	install -d ${D}${bindir}
	install -m 0755 ${S}/sdr-shell ${D}${bindir}
}