Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | SUMMARY = "Header-only C++ library for JSON Schema validation" |
| 2 | HOMEPAGE = "https://github.com/tristanpenman/valijson" |
| 3 | LICENSE = "BSD-2-Clause" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=015106c62262b2383f6c72063f0998f2" |
| 5 | |
| 6 | SRC_URI = "git://github.com/tristanpenman/valijson.git;branch=master;protocol=https" |
Patrick Williams | db4c27e | 2022-08-05 08:10:29 -0500 | [diff] [blame] | 7 | SRCREV = "94d3bfd39ad4dca1be0f700b5eea8e4234d0e7e8" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 8 | |
| 9 | S = "${WORKDIR}/git" |
| 10 | |
| 11 | inherit cmake |
| 12 | |
| 13 | PACKAGECONFIG ?= "boost" |
| 14 | |
| 15 | PACKAGECONFIG[boost] = "-Dvalijson_EXCLUDE_BOOST=FALSE,-Dvalijson_EXCLUDE_BOOST=TRUE,boost" |
| 16 | PACKAGECONFIG[examples] = "-Dvalijson_BUILD_EXAMPLES=TRUE,-Dvalijson_BUILD_EXAMPLES=FALSE,curlpp" |
| 17 | PACKAGECONFIG[tests] = "-Dvalijson_BUILD_TESTS=TRUE,-Dvalijson_BUILD_TESTS=FALSE,curlpp" |
| 18 | |
| 19 | # valijson is a header only C++ library, so the main package will be empty. |
| 20 | RDEPENDS:${PN}-dev = "" |
| 21 | |
| 22 | BBCLASSEXTEND = "native nativesdk" |