diff options
Diffstat (limited to 'meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb new file mode 100644 index 0000000000..4cded07201 --- /dev/null +++ b/meta-oe/recipes-devtools/rapidjson/rapidjson_git.bb | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | SUMMARY = "A fast JSON parser/generator for C++ with both SAX/DOM style API" | ||
| 2 | HOMEPAGE = "http://rapidjson.org/" | ||
| 3 | SECTION = "libs" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125" | ||
| 6 | |||
| 7 | SRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1 \ | ||
| 8 | file://remove-march-native-from-CMAKE_CXX_FLAGS.patch \ | ||
| 9 | " | ||
| 10 | |||
| 11 | SRCREV = "e5635fb27feab7f6e8d7b916aa20ad799045a641" | ||
| 12 | |||
| 13 | PV = "1.1.0+git${SRCPV}" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit cmake | ||
| 18 | |||
| 19 | EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF" | ||
| 20 | |||
| 21 | # RapidJSON is a header-only C++ library, so the main package will be empty. | ||
| 22 | |||
| 23 | FILES_${PN}-dev += "${libdir}/cmake" | ||
| 24 | |||
| 25 | BBCLASSEXTEND = "native nativesdk" | ||
