diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-14 16:22:31 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-11-14 16:22:31 +0100 |
commit | a03a4083df90184fc1083b2f01952a50cfa51bca (patch) | |
tree | ae18ad6d5ed0ba873490f2b399159865cbea581c | |
parent | 09105b947abe5142dc21095664e0fca8fa0d4163 (diff) | |
download | meta-openembedded-a03a4083df90184fc1083b2f01952a50cfa51bca.tar.gz |
qcanobserver-socketcan: import from OE Classic with updates
-rw-r--r-- | meta-oe/recipes-qt/qcanobserver/qcanobserver-socketcan_svn.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-oe/recipes-qt/qcanobserver/qcanobserver-socketcan_svn.bb b/meta-oe/recipes-qt/qcanobserver/qcanobserver-socketcan_svn.bb new file mode 100644 index 000000000..c63612891 --- /dev/null +++ b/meta-oe/recipes-qt/qcanobserver/qcanobserver-socketcan_svn.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | DESCRIPTION = "The Linux CAN Sniffer - SocketCAN driver" | ||
2 | |||
3 | LICENSE = "GPLv3+" | ||
4 | LIC_FILES_CHKSUM = "file://../../../modeltest/LICENSE.GPL;md5=34337af480a8c452bfafe22a78fa20cb" | ||
5 | |||
6 | inherit qt4x11 | ||
7 | |||
8 | DEPENDS += "qwt libsocketcan" | ||
9 | |||
10 | PV = "0.5+svnr${SRCPV}" | ||
11 | SRCREV = "48" | ||
12 | SRC_URI = "svn://qcanobserver.svn.sourceforge.net/svnroot;module=qcanobserver;proto=https" | ||
13 | |||
14 | S = "${WORKDIR}/qcanobserver/DeviceLib/linux/SocketCAN" | ||
15 | |||
16 | CXXFLAGS += " -DPF_CAN=29 -DAF_CAN=PF_CAN" | ||
17 | |||
18 | do_configure_prepend() { | ||
19 | sed -i s:/usr/include/qwt5/:${STAGING_INCDIR}:g *.pro | ||
20 | } | ||
21 | |||
22 | do_install() { | ||
23 | install -d ${D}${datadir}/qcanobserver/lib | ||
24 | |||
25 | install -m 0755 ${S}/lib* ${D}${datadir}/qcanobserver/lib/ | ||
26 | } | ||
27 | |||
28 | FILES_${PN} += "${datadir}/qcanobserver/lib" | ||
29 | FILES_${PN}-dbg += "${datadir}/qcanobserver/lib/.debug" | ||
30 | |||