From 0d559bc29ebce7925b5b5ac016b0611b53e307d6 Mon Sep 17 00:00:00 2001 From: Michael Fitzmayer Date: Sat, 28 Mar 2026 22:30:46 +0100 Subject: Add recipe: canvenient 1.00 CANvenient is an abstraction layer for multiple CAN APIs on Windows and Linux. It provides a unified interface for CAN communication, allowing developers to write code that is portable across different platforms and CAN hardware. Signed-off-by: Michael Fitzmayer Signed-off-by: Khem Raj --- .../recipes-devtools/canvenient/canvenient_1.00.bb | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 meta-oe/recipes-devtools/canvenient/canvenient_1.00.bb diff --git a/meta-oe/recipes-devtools/canvenient/canvenient_1.00.bb b/meta-oe/recipes-devtools/canvenient/canvenient_1.00.bb new file mode 100644 index 0000000000..a4d5a212c1 --- /dev/null +++ b/meta-oe/recipes-devtools/canvenient/canvenient_1.00.bb @@ -0,0 +1,41 @@ + +SUMMARY = "CANvenient is an abstraction layer for multiple CAN APIs \ + on Windows and Linux. \ + " +DESCRIPTION = "CANvenient is an abstraction layer for multiple CAN APIs on \ + Windows and Linux. It provides a unified interface for CAN \ + communication, allowing developers to write code that is \ + portable across different platforms and CAN hardware. \ + " +HOMEPAGE = "https://canopenterm.de/canvenient" +BUGTRACKER = "https://github.com/CANopenTerm/CANvenient/issues" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=bd2edc721b4a0289efe949bdbe7dda79" + +DEPENDS = "libsocketcan" + +SRC_URI = "git://github.com/CANopenTerm/CANvenient.git;protocol=https;branch=main" + +SRCREV = "abdfc48b316b3644ec1d0d225c45fd0fd8b07dd7" + +inherit cmake ptest + + +do_install:append() { + install -d ${D}${includedir} + install -d ${D}${libdir} + + install -m 0644 ${S}/include/CANvenient.h ${D}${includedir}/ + install -m 0755 ${B}/libCANvenient.so.1.0.0 ${D}${libdir}/ + + ln -sf libCANvenient.so.1.0.0 ${D}${libdir}/libCANvenient.so.1 + ln -sf libCANvenient.so.1.0.0 ${D}${libdir}/libCANvenient.so +} + +FILES:${PN} += "${libdir}/libCANvenient.so ${libdir}/libCANvenient.so.*" +FILES:${PN}-dev += "${includedir}" + +SOLIBS = ".so" + +RDEPENDS:${PN} = "libsocketcan" -- cgit v1.2.3-54-g00ecf