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