Files
Khem Raj ffc64e9c6f recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00

30 lines
999 B
BlitzBasic

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 = ""