diff options
| author | Michael Fitzmayer <mail@michael-fitzmayer.de> | 2026-03-28 22:30:46 +0100 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-03-30 19:46:41 -0700 |
| commit | 0d559bc29ebce7925b5b5ac016b0611b53e307d6 (patch) | |
| tree | ff427aa47e975c49b5c8e39ae8549952a6b61d68 | |
| parent | 343f5a7a75b76da544bec4603fd96c48f2604d15 (diff) | |
| download | meta-openembedded-0d559bc29ebce7925b5b5ac016b0611b53e307d6.tar.gz | |
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 <mail@michael-fitzmayer.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
| -rw-r--r-- | meta-oe/recipes-devtools/canvenient/canvenient_1.00.bb | 41 |
1 files changed, 41 insertions, 0 deletions
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 @@ | |||
| 1 | |||
| 2 | SUMMARY = "CANvenient is an abstraction layer for multiple CAN APIs \ | ||
| 3 | on Windows and Linux. \ | ||
| 4 | " | ||
| 5 | DESCRIPTION = "CANvenient is an abstraction layer for multiple CAN APIs on \ | ||
| 6 | Windows and Linux. It provides a unified interface for CAN \ | ||
| 7 | communication, allowing developers to write code that is \ | ||
| 8 | portable across different platforms and CAN hardware. \ | ||
| 9 | " | ||
| 10 | HOMEPAGE = "https://canopenterm.de/canvenient" | ||
| 11 | BUGTRACKER = "https://github.com/CANopenTerm/CANvenient/issues" | ||
| 12 | |||
| 13 | LICENSE = "MIT" | ||
| 14 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=bd2edc721b4a0289efe949bdbe7dda79" | ||
| 15 | |||
| 16 | DEPENDS = "libsocketcan" | ||
| 17 | |||
| 18 | SRC_URI = "git://github.com/CANopenTerm/CANvenient.git;protocol=https;branch=main" | ||
| 19 | |||
| 20 | SRCREV = "abdfc48b316b3644ec1d0d225c45fd0fd8b07dd7" | ||
| 21 | |||
| 22 | inherit cmake ptest | ||
| 23 | |||
| 24 | |||
| 25 | do_install:append() { | ||
| 26 | install -d ${D}${includedir} | ||
| 27 | install -d ${D}${libdir} | ||
| 28 | |||
| 29 | install -m 0644 ${S}/include/CANvenient.h ${D}${includedir}/ | ||
| 30 | install -m 0755 ${B}/libCANvenient.so.1.0.0 ${D}${libdir}/ | ||
| 31 | |||
| 32 | ln -sf libCANvenient.so.1.0.0 ${D}${libdir}/libCANvenient.so.1 | ||
| 33 | ln -sf libCANvenient.so.1.0.0 ${D}${libdir}/libCANvenient.so | ||
| 34 | } | ||
| 35 | |||
| 36 | FILES:${PN} += "${libdir}/libCANvenient.so ${libdir}/libCANvenient.so.*" | ||
| 37 | FILES:${PN}-dev += "${includedir}" | ||
| 38 | |||
| 39 | SOLIBS = ".so" | ||
| 40 | |||
| 41 | RDEPENDS:${PN} = "libsocketcan" | ||
