blob: aed190cb6c84bf03e6111fac591230fe9cd6f99b (
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 = "The Linux CAN Sniffer - SocketCAN driver"
LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = "file://../../../modeltest/LICENSE.GPL;md5=34337af480a8c452bfafe22a78fa20cb"
inherit qt4x11
DEPENDS += "qwt libsocketcan"
PV = "0.5+svnr${SRCPV}"
SRCREV = "48"
SRC_URI = "svn://qcanobserver.svn.sourceforge.net/svnroot;module=qcanobserver;protocol=https"
S = "${WORKDIR}/qcanobserver/DeviceLib/linux/SocketCAN"
CXXFLAGS += " -DPF_CAN=29 -DAF_CAN=PF_CAN"
do_configure_prepend() {
sed -i s:/usr/include/qwt5/:${STAGING_INCDIR}:g *.pro
}
do_install() {
install -d ${D}${datadir}/qcanobserver/lib
install -m 0755 ${S}/lib* ${D}${datadir}/qcanobserver/lib/
}
FILES_${PN} += "${datadir}/qcanobserver/lib"
FILES_${PN}-dbg += "${datadir}/qcanobserver/lib/.debug"
|