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
7*19323693SBrad BishopSRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1 \
8*19323693SBrad Bishop           file://0001-CMake-remove-hardcoded-CMAKECONFIG_INSTALL_DIR-path.patch"
9eb8dc403SDave Cobbley
101a4b7ee2SBrad BishopSRCREV = "6a905f9311f82d306da77bd963ec5aa5da07da9c"
11eb8dc403SDave Cobbley
12eb8dc403SDave CobbleyPV = "1.1.0+git${SRCPV}"
13eb8dc403SDave Cobbley
14eb8dc403SDave CobbleyS = "${WORKDIR}/git"
15eb8dc403SDave Cobbley
16eb8dc403SDave Cobbleyinherit cmake
17eb8dc403SDave Cobbley
18*19323693SBrad BishopEXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF -DLIB_INSTALL_DIR:STRING=${libdir}"
19eb8dc403SDave Cobbley
20eb8dc403SDave Cobbley# RapidJSON is a header-only C++ library, so the main package will be empty.
21eb8dc403SDave Cobbley
221a4b7ee2SBrad BishopALLOW_EMPTY_${PN} = "1"
23eb8dc403SDave Cobbley
24eb8dc403SDave CobbleyBBCLASSEXTEND = "native nativesdk"
25