summaryrefslogtreecommitdiffstats
path: root/meta-openembedded
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2018-10-12 13:02:28 -0700
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-10-16 02:12:45 +0000
commit96e9b737fed7da9f35949f7cb81a906cdba8a2eb (patch)
treed5940101487bffe7555f961b9328525dcb2d276b /meta-openembedded
parentcb07cdfbce2ede5e4f9563cdb818056bcfc64b86 (diff)
downloadtalos-openbmc-96e9b737fed7da9f35949f7cb81a906cdba8a2eb.tar.gz
talos-openbmc-96e9b737fed7da9f35949f7cb81a906cdba8a2eb.zip
valijson: Add recipe
valijson is a header only c++ library for JSON schema validation. (From meta-openembedded rev: 5e28c2b7608c460c0924cf16ee57016bd6abcdb8) Change-Id: I45775402bc9b43a69dfafa9ef65ddd493615da65 Signed-off-by: James Feist <james.feist@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openembedded')
-rw-r--r--meta-openembedded/meta-oe/recipes-devtools/valijson/valijson_git.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-openembedded/meta-oe/recipes-devtools/valijson/valijson_git.bb b/meta-openembedded/meta-oe/recipes-devtools/valijson/valijson_git.bb
new file mode 100644
index 000000000..c3254d16e
--- /dev/null
+++ b/meta-openembedded/meta-oe/recipes-devtools/valijson/valijson_git.bb
@@ -0,0 +1,21 @@
+SUMMARY = "Header-only C++ library for JSON Schema validation"
+HOMEPAGE = "https://github.com/tristanpenman/valijson"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2"
+
+SRC_URI = "git://github.com/tristanpenman/valijson.git"
+PV = "0.1+git${SRCPV}"
+
+SRCREV = "c2f22fddf599d04dc33fcd7ed257c698a05345d9"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+EXTRA_OECMAKE = "-DINSTALL_HEADERS=1 -DBUILD_TESTS=0"
+
+# valijson is a header only C++ library, so the main package will be empty.
+RDEPENDS_${PN}-dev = ""
+
+BBCLASSEXTEND = "native nativesdk"
+
OpenPOWER on IntegriCloud