Skip to contentSkip to conversation

valijson: Add recipe

PATCH New James Feist 1 participant 1 message Oct 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 valijson: Add recipe

valijson is a header only c++ library for JSON
schema validation.

---
Changes since v2:
- Removed symlink for nlohmann/json

Changes since v1:
- Fixed license
- Simplified symlink
- Removed extra whitespace

 .../recipes-devtools/valijson/valijson_git.bb | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/valijson/valijson_git.bb
meta-oe/recipes-devtools/valijson/valijson_git.bb new file +21 -0
new file mode 100644
index 000000000..c3254d16e
@@ -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"
+
Signature · 1 line
2.17.1