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