1SUMMARY = "A fast JSON parser/generator for C++ with both SAX/DOM style API"
2HOMEPAGE = "http://rapidjson.org/"
3SECTION = "libs"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125"
6
7SRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1 \
8           file://0001-CMake-remove-hardcoded-CMAKECONFIG_INSTALL_DIR-path.patch"
9
10SRCREV = "6a905f9311f82d306da77bd963ec5aa5da07da9c"
11
12PV = "1.1.0+git${SRCPV}"
13
14S = "${WORKDIR}/git"
15
16inherit cmake
17
18EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF -DLIB_INSTALL_DIR:STRING=${libdir}"
19
20# RapidJSON is a header-only C++ library, so the main package will be empty.
21
22ALLOW_EMPTY_${PN} = "1"
23
24BBCLASSEXTEND = "native nativesdk"
25