diff options
| -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" | ||
