blob: 52475522adb292e814dfa3efe473f9a24e4b7ba6 [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001SUMMARY = "Header-only C++ library for JSON Schema validation"
2HOMEPAGE = "https://github.com/tristanpenman/valijson"
3LICENSE = "BSD-2-Clause"
Patrick Williams7784c422022-11-17 07:29:11 -06004LIC_FILES_CHKSUM = "file://LICENSE;md5=5c4583a434195e4f3b418e17c8ca2daf"
Andrew Geissler9aee5002022-03-30 16:27:02 +00005
6SRC_URI = "git://github.com/tristanpenman/valijson.git;branch=master;protocol=https"
Patrick Williams7784c422022-11-17 07:29:11 -06007SRCREV = "78ac8a737df56b5334354efe104ea8f99e2a2f00"
Andrew Geissler9aee5002022-03-30 16:27:02 +00008
9S = "${WORKDIR}/git"
10
11inherit cmake
12
13PACKAGECONFIG ?= "boost"
14
15PACKAGECONFIG[boost] = "-Dvalijson_EXCLUDE_BOOST=FALSE,-Dvalijson_EXCLUDE_BOOST=TRUE,boost"
16PACKAGECONFIG[examples] = "-Dvalijson_BUILD_EXAMPLES=TRUE,-Dvalijson_BUILD_EXAMPLES=FALSE,curlpp"
17PACKAGECONFIG[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.
20RDEPENDS:${PN}-dev = ""
21
22BBCLASSEXTEND = "native nativesdk"