David Cobbley | 36133ce | 2017-12-18 14:43:42 -0800 | [diff] [blame] | 1 | DESCRIPTION = "JSON for modern C++" |
| 2 | HOMEPAGE = "https://nlohmann.github.io/json/" |
| 3 | LICENSE = "MIT" |
Brad Bishop | f72f49c | 2018-03-30 12:20:06 -0400 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=9a8ae1c2d606c432a2aa2e2de15be22a" |
David Cobbley | 36133ce | 2017-12-18 14:43:42 -0800 | [diff] [blame] | 5 | |
David Cobbley | 74ea90b | 2018-01-04 09:00:47 -0800 | [diff] [blame] | 6 | SRC_URI = "git://github.com/nlohmann/json.git" |
David Cobbley | 36133ce | 2017-12-18 14:43:42 -0800 | [diff] [blame] | 7 | |
Deepak Kodihalli | a336042 | 2018-01-12 02:14:15 -0600 | [diff] [blame] | 8 | ALLOW_EMPTY_${PN} = "1" |
| 9 | |
Brad Bishop | f72f49c | 2018-03-30 12:20:06 -0400 | [diff] [blame] | 10 | PV = "3.1.2+git${SRCPV}" |
David Cobbley | 36133ce | 2017-12-18 14:43:42 -0800 | [diff] [blame] | 11 | |
Brad Bishop | f72f49c | 2018-03-30 12:20:06 -0400 | [diff] [blame] | 12 | SRCREV = "183390c10b8ba4aa33934ae593f82f352befefc8" |
David Cobbley | 36133ce | 2017-12-18 14:43:42 -0800 | [diff] [blame] | 13 | |
| 14 | S = "${WORKDIR}/git" |
| 15 | do_install_append(){ |
| 16 | install -d ${D}${includedir}/nlohmann |
Brad Bishop | f72f49c | 2018-03-30 12:20:06 -0400 | [diff] [blame] | 17 | install -m 644 ${S}/single_include/nlohmann/json.hpp ${D}${includedir}/nlohmann/json.hpp |
David Cobbley | 36133ce | 2017-12-18 14:43:42 -0800 | [diff] [blame] | 18 | } |