1eb8dc403SDave CobbleySUMMARY = "A fast JSON parser/generator for C++ with both SAX/DOM style API"
2eb8dc403SDave CobbleyHOMEPAGE = "http://rapidjson.org/"
3eb8dc403SDave CobbleySECTION = "libs"
4eb8dc403SDave CobbleyLICENSE = "MIT"
5eb8dc403SDave CobbleyLIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125"
6eb8dc403SDave Cobbley
7eef6386cSAndrew GeisslerSRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1"
8eb8dc403SDave Cobbley
9eef6386cSAndrew GeisslerSRCREV = "0ccdbf364c577803e2a751f5aededce935314313"
10eb8dc403SDave Cobbley
11eb8dc403SDave CobbleyPV = "1.1.0+git${SRCPV}"
12eb8dc403SDave Cobbley
13eb8dc403SDave CobbleyS = "${WORKDIR}/git"
14eb8dc403SDave Cobbley
15eb8dc403SDave Cobbleyinherit cmake
16eb8dc403SDave Cobbley
17*69721092SAndrew GeisslerEXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF"
18eb8dc403SDave Cobbley
19eb8dc403SDave Cobbley# RapidJSON is a header-only C++ library, so the main package will be empty.
20eb8dc403SDave Cobbley
211a4b7ee2SBrad BishopALLOW_EMPTY_${PN} = "1"
22eb8dc403SDave Cobbley
23eb8dc403SDave CobbleyBBCLASSEXTEND = "native nativesdk"
24