blob: bbb63a1bf5618eb5d1a3cc1fc0e986bb8dc2f6af [file] [log] [blame]
David Cobbley36133ce2017-12-18 14:43:42 -08001DESCRIPTION = "JSON for modern C++"
2HOMEPAGE = "https://nlohmann.github.io/json/"
3LICENSE = "MIT"
Brad Bishopf72f49c2018-03-30 12:20:06 -04004LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=9a8ae1c2d606c432a2aa2e2de15be22a"
David Cobbley36133ce2017-12-18 14:43:42 -08005
David Cobbley74ea90b2018-01-04 09:00:47 -08006SRC_URI = "git://github.com/nlohmann/json.git"
David Cobbley36133ce2017-12-18 14:43:42 -08007
Deepak Kodihallia3360422018-01-12 02:14:15 -06008ALLOW_EMPTY_${PN} = "1"
9
Brad Bishopf72f49c2018-03-30 12:20:06 -040010PV = "3.1.2+git${SRCPV}"
David Cobbley36133ce2017-12-18 14:43:42 -080011
Brad Bishopf72f49c2018-03-30 12:20:06 -040012SRCREV = "183390c10b8ba4aa33934ae593f82f352befefc8"
David Cobbley36133ce2017-12-18 14:43:42 -080013
14S = "${WORKDIR}/git"
15do_install_append(){
16 install -d ${D}${includedir}/nlohmann
Brad Bishopf72f49c2018-03-30 12:20:06 -040017 install -m 644 ${S}/single_include/nlohmann/json.hpp ${D}${includedir}/nlohmann/json.hpp
David Cobbley36133ce2017-12-18 14:43:42 -080018}