sdrshell: add qt4 version
authorKoen Kooi <koen@openembedded.org>
Fri, 31 Dec 2010 12:47:05 +0000 (13:47 +0100)
committerKoen Kooi <koen@openembedded.org>
Fri, 31 Dec 2010 12:47:05 +0000 (13:47 +0100)
recipes/sdr/sdrshell-qt4_svn.bb [new file with mode: 0644]

diff --git a/recipes/sdr/sdrshell-qt4_svn.bb b/recipes/sdr/sdrshell-qt4_svn.bb
new file mode 100644 (file)
index 0000000..ec81f96
--- /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 qt4x11
+
+SRCREV = "129"
+PV = "${SRCREV}"
+
+SRC_URI = "svn://sdr-shell.googlecode.com/svn/branches;module=sdr-shell-v4;proto=http \
+"
+S = "${WORKDIR}/sdr-shell-v4"
+
+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}
+}
+
+