summaryrefslogtreecommitdiffstats
path: root/external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb
diff options
context:
space:
mode:
Diffstat (limited to 'external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb')
-rw-r--r--external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb b/external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb
new file mode 100644
index 00000000..fc2b673d
--- /dev/null
+++ b/external/meta-iot-cloud/recipes-support/cjson/cjson_1.7.10.bb
@@ -0,0 +1,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 \
+"