From: Koen Kooi Date: Mon, 14 Nov 2011 15:22:31 +0000 (+0100) Subject: qcanobserver-socketcan: import from OE Classic with updates X-Git-Tag: rev_ivi_2015_02_04~5329 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a9757dca20a93b535d4b95d3ea04be2caf8a50c9;p=scm%2Fbb%2Ftizen-distro.git qcanobserver-socketcan: import from OE Classic with updates Signed-off-by: Patrick Ohly --- diff --git a/meta-openembedded/meta-oe/recipes-qt/qcanobserver/qcanobserver-socketcan_svn.bb b/meta-openembedded/meta-oe/recipes-qt/qcanobserver/qcanobserver-socketcan_svn.bb new file mode 100644 index 0000000..c636128 --- /dev/null +++ b/meta-openembedded/meta-oe/recipes-qt/qcanobserver/qcanobserver-socketcan_svn.bb @@ -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" +