summaryrefslogtreecommitdiffstats
path: root/external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb
blob: fc2b673da456cb190bb689252344ec50e31f2e6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
DESCRIPTION = "Ultralightweight JSON parser in ANSI C"
HOMEPAGE = "https://github.com/DaveGamble/cJSON"
AUTHOR = "Dave Gamble"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=218947f77e8cb8e2fa02918dc41c50d0"

inherit cmake pkgconfig

PR = "r0"

SRC_URI = "\
    git://github.com/DaveGamble/cJSON.git \
"

SRCREV = "c69134d01746dcf551dd7724b4edb12f922eb0d1"

S = "${WORKDIR}/git"

FILES_${PN}-dev += "\
    ${libdir}/cmake \
"

EXTRA_OECMAKE += "\
    -DENABLE_CUSTOM_COMPILER_FLAGS=OFF \
    -DBUILD_SHARED_AND_STATIC_LIBS=On \
"