summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-12-16 18:37:09 -0800
committerKhem Raj <raj.khem@gmail.com>2019-12-16 19:50:07 -0800
commit110652d95152272df5649c6dd6c0fc98a47129df (patch)
tree1ea77c7bcd69109c0d371ae71439a51ac4887576 /meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb
parente595651343a0c380e699fa5137b8597e06e98edb (diff)
downloadmeta-openembedded-110652d95152272df5649c6dd6c0fc98a47129df.tar.gz
nlohmann-json: Upgrade to 3.7.3
Rename recipe to express PV Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb')
-rw-r--r--meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb b/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb
new file mode 100644
index 0000000000..86fe673b47
--- /dev/null
+++ b/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.7.3.bb
@@ -0,0 +1,27 @@
1SUMMARY = "JSON for modern C++"
2HOMEPAGE = "https://nlohmann.github.io/json/"
3SECTION = "libs"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=f5f7c71504da070bcf4f090205ce1080"
6
7SRC_URI = "git://github.com/nlohmann/json.git;nobranch=1"
8
9SRCREV = "e7b3b40b5a95bc74b9a7f662830a27c49ffc01b4"
10
11S = "${WORKDIR}/git"
12
13inherit cmake
14
15EXTRA_OECMAKE += "-DJSON_BuildTests=OFF"
16
17# nlohmann-json is a header only C++ library, so the main package will be empty.
18
19RDEPENDS_${PN}-dev = ""
20
21BBCLASSEXTEND = "native nativesdk"
22
23# other packages commonly reference the file directly as "json.hpp"
24# create symlink to allow this usage
25do_install_append() {
26 ln -s nlohmann/json.hpp ${D}${includedir}/json.hpp
27}