Files
meta-openembedded/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
T
Roland Hieber 8e6e4e594d rapidjson: override hard-coded lib install dir
The default value for LIB_INSTALL_DIR is set to ${prefix}/lib in
CMakeLists.txt. However, in multilib builds, the package split picks up
the files from ${prefix}/lib64 or ${prefix}/lib32, which leads to QA
issues in do_package about left-over files in /usr/lib/pkgconfig and
/usr/lib/cmake.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-05 09:47:23 -07:00

27 lines
830 B
BlitzBasic

SUMMARY = "A fast JSON parser/generator for C++ with both SAX/DOM style API"
HOMEPAGE = "http://rapidjson.org/"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125"
SRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1"
SRCREV = "0ccdbf364c577803e2a751f5aededce935314313"
PV = "1.1.0+git${SRCPV}"
S = "${WORKDIR}/git"
inherit cmake
EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF"
# the install path for cmake modules etc. is hardcoded as ${prefix}/lib in
# CMakeLists.txt, which breaks the package split with multilib
EXTRA_OECMAKE += "-DLIB_INSTALL_DIR=${libdir}"
# RapidJSON is a header-only C++ library, so the main package will be empty.
ALLOW_EMPTY:${PN} = "1"
BBCLASSEXTEND = "native nativesdk"