1*eb8dc403SDave CobbleySUMMARY = "A fast JSON parser/generator for C++ with both SAX/DOM style API"
2*eb8dc403SDave CobbleyHOMEPAGE = "http://rapidjson.org/"
3*eb8dc403SDave CobbleySECTION = "libs"
4*eb8dc403SDave CobbleyLICENSE = "MIT"
5*eb8dc403SDave CobbleyLIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125"
6*eb8dc403SDave Cobbley
7*eb8dc403SDave CobbleySRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1 \
8*eb8dc403SDave Cobbley           file://remove-march-native-from-CMAKE_CXX_FLAGS.patch \
9*eb8dc403SDave Cobbley"
10*eb8dc403SDave Cobbley
11*eb8dc403SDave CobbleySRCREV = "e5635fb27feab7f6e8d7b916aa20ad799045a641"
12*eb8dc403SDave Cobbley
13*eb8dc403SDave CobbleyPV = "1.1.0+git${SRCPV}"
14*eb8dc403SDave Cobbley
15*eb8dc403SDave CobbleyS = "${WORKDIR}/git"
16*eb8dc403SDave Cobbley
17*eb8dc403SDave Cobbleyinherit cmake
18*eb8dc403SDave Cobbley
19*eb8dc403SDave CobbleyEXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF"
20*eb8dc403SDave Cobbley
21*eb8dc403SDave Cobbley# RapidJSON is a header-only C++ library, so the main package will be empty.
22*eb8dc403SDave Cobbley
23*eb8dc403SDave CobbleyFILES_${PN}-dev += "${libdir}/cmake"
24*eb8dc403SDave CobbleyRDEPENDS_${PN}-dev = ""
25*eb8dc403SDave Cobbley
26*eb8dc403SDave CobbleyBBCLASSEXTEND = "native nativesdk"
27