blob: 57a0badd4e52775d0bdc5f6072f34166db4db42f [file] [log] [blame]
David Cobbley36133ce2017-12-18 14:43:42 -08001DESCRIPTION = "JSON for modern C++"
2HOMEPAGE = "https://nlohmann.github.io/json/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=f8a8f918f1513404c8366d7a63ab6d97"
5
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
David Cobbley74ea90b2018-01-04 09:00:47 -080010PV = "3.0.1+git${SRCPV}"
David Cobbley36133ce2017-12-18 14:43:42 -080011
David Cobbley74ea90b2018-01-04 09:00:47 -080012SRCREV = "ce1dccf347faf6beb2cdf06b788c01cc24e4c6ce"
David Cobbley36133ce2017-12-18 14:43:42 -080013
14S = "${WORKDIR}/git"
15do_install_append(){
16 install -d ${D}${includedir}/nlohmann
17 install -m 644 ${S}/src/json.hpp ${D}${includedir}/nlohmann/json.hpp
18}