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" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=f8a8f918f1513404c8366d7a63ab6d97" |
| 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 | |
David Cobbley | 74ea90b | 2018-01-04 09:00:47 -0800 | [diff] [blame] | 10 | PV = "3.0.1+git${SRCPV}" |
David Cobbley | 36133ce | 2017-12-18 14:43:42 -0800 | [diff] [blame] | 11 | |
David Cobbley | 74ea90b | 2018-01-04 09:00:47 -0800 | [diff] [blame] | 12 | SRCREV = "ce1dccf347faf6beb2cdf06b788c01cc24e4c6ce" |
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 |
| 17 | install -m 644 ${S}/src/json.hpp ${D}${includedir}/nlohmann/json.hpp |
| 18 | } |