Andrew Geissler | 3eeda90 | 2023-05-19 10:14:02 -0500 | [diff] [blame] | 1 | SUMMARY = "Cross-platform library for interfacing with rs-232 serial like ports" |
| 2 | HOMEPAGE = "http://wjwwood.io/serial/" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://README.md;beginline=53;endline=62;md5=049c68d559533f90250404746e6a1045" |
| 5 | |
| 6 | SRC_URI = " \ |
| 7 | git://github.com/wjwwood/${BPN}.git;protocol=https;branch=main \ |
| 8 | file://Findcatkin.cmake \ |
| 9 | " |
| 10 | SRCREV = "10ac4e1c25c2cda1dc0a32a8e12b87fd89f3bb4f" |
| 11 | SRC_URI[sha256sum] = "c8cd235dda2ef7d977ba06dfcb35c35e42f45cfd9149ba3ad257756123d8ff96" |
| 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
| 15 | inherit cmake |
| 16 | |
| 17 | # Work-around for https://github.com/wjwwood/serial/issues/135 |
| 18 | EXTRA_OECMAKE = " \ |
| 19 | -DCMAKE_MODULE_PATH=${WORKDIR} \ |
| 20 | -DCATKIN_PACKAGE_LIB_DESTINATION=${libdir} \ |
| 21 | -DCATKIN_PACKAGE_BIN_DESTINATION=${bindir} \ |
| 22 | -DCATKIN_GLOBAL_INCLUDE_DESTINATION=${includedir} \ |
| 23 | -DCATKIN_ENABLE_TESTING=OFF \ |
| 24 | " |
| 25 | |
| 26 | # Do not depend on the main package since it will be empty |
| 27 | RDEPENDS:${PN}-dev = "" |
| 28 | |