sdrshell: add svn version
authorKoen Kooi <koen@openembedded.org>
Sun, 7 Jun 2009 18:04:28 +0000 (20:04 +0200)
committerKoen Kooi <koen@openembedded.org>
Sun, 7 Jun 2009 18:04:28 +0000 (20:04 +0200)
recipes/sdr/sdrshell_svn.bb [new file with mode: 0644]

diff --git a/recipes/sdr/sdrshell_svn.bb b/recipes/sdr/sdrshell_svn.bb
new file mode 100644 (file)
index 0000000..1641aa5
--- /dev/null
@@ -0,0 +1,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;patch=1;pnum=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}
+}
+
+