blob: a89b659ae89beb7f1a788fd37955bcdf256fb3bc [file] [log] [blame]
James Feist9a6e2ee2018-10-04 15:43:54 -07001SUMMARY = "JSON for modern C++"
David Cobbley36133ce2017-12-18 14:43:42 -08002HOMEPAGE = "https://nlohmann.github.io/json/"
James Feist9a6e2ee2018-10-04 15:43:54 -07003SECTION = "libs"
David Cobbley36133ce2017-12-18 14:43:42 -08004LICENSE = "MIT"
Brad Bishopf72f49c2018-03-30 12:20:06 -04005LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=9a8ae1c2d606c432a2aa2e2de15be22a"
David Cobbley36133ce2017-12-18 14:43:42 -08006
David Cobbley74ea90b2018-01-04 09:00:47 -08007SRC_URI = "git://github.com/nlohmann/json.git"
David Cobbley36133ce2017-12-18 14:43:42 -08008
James Feist9a6e2ee2018-10-04 15:43:54 -07009PV = "3.2.0+git${SRCPV}"
Deepak Kodihallia3360422018-01-12 02:14:15 -060010
James Feist9a6e2ee2018-10-04 15:43:54 -070011SRCREV = "8c20571136f2d5351b379a06ad6591bd980880fe"
David Cobbley36133ce2017-12-18 14:43:42 -080012
13S = "${WORKDIR}/git"
James Feist9a6e2ee2018-10-04 15:43:54 -070014
15inherit cmake
16
17EXTRA_OECMAKE += "-DJSON_BuildTests=OFF"
18
19# nlohmann-json is a header only C++ library, so the main package will be empty.
20
21RDEPENDS_${PN}-dev = ""
22
23BBCLASSEXTEND = "native nativesdk"