Files
meta-openembedded/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb
Joshua Watt 7163946b56 rapidjson: Allow empty package
Causes the empty base package to be created so that RapidJSON can be
sanely included in an SDK via IMAGE_INSTALL, RDEPENDS, and the like.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-02 12:56:23 -07:00

24 lines
645 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 = "6a905f9311f82d306da77bd963ec5aa5da07da9c"
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"
# RapidJSON is a header-only C++ library, so the main package will be empty.
ALLOW_EMPTY_${PN} = "1"
BBCLASSEXTEND = "native nativesdk"