mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
qcanobserver-socketcan: import from OE Classic with updates
This commit is contained in:
parent
09105b947a
commit
a03a4083df
|
|
@ -0,0 +1,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;proto=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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user