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