Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | DESCRIPTION = "Ultralightweight JSON parser in ANSI C" |
| 2 | AUTHOR = "Dave Gamble" |
| 3 | HOMEPAGE = "https://github.com/DaveGamble/cJSON" |
| 4 | SECTION = "libs" |
| 5 | LICENSE = "MIT" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=218947f77e8cb8e2fa02918dc41c50d0" |
| 7 | |
| 8 | SRC_URI = "git://github.com/DaveGamble/cJSON.git" |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame^] | 9 | SRCREV = "d2735278ed1c2e4556f53a7a782063b31331dbf7" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | |
| 11 | S = "${WORKDIR}/git" |
| 12 | |
| 13 | inherit cmake pkgconfig |
| 14 | |
| 15 | EXTRA_OECMAKE += "\ |
| 16 | -DENABLE_CJSON_UTILS=On \ |
| 17 | -DENABLE_CUSTOM_COMPILER_FLAGS=OFF \ |
| 18 | -DBUILD_SHARED_AND_STATIC_LIBS=On \ |
| 19 | " |
| 20 | |
| 21 | BBCLASSEXTEND = "native nativesdk" |