mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
cjson: add recipe for v1.7.13
cJSON aims to be the dumbest possible parser that you can get your job done with. It's a single file of C, and a single header file. Homepage: https://github.com/DaveGamble/cJSON Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
DESCRIPTION = "Ultralightweight JSON parser in ANSI C"
|
||||||
|
AUTHOR = "Dave Gamble"
|
||||||
|
HOMEPAGE = "https://github.com/DaveGamble/cJSON"
|
||||||
|
SECTION = "libs"
|
||||||
|
LICENSE = "MIT"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=218947f77e8cb8e2fa02918dc41c50d0"
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/DaveGamble/cJSON.git"
|
||||||
|
SRCREV = "39853e5148dad8dc5d32ea2b00943cf4a0c6f120"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
inherit cmake pkgconfig
|
||||||
|
|
||||||
|
EXTRA_OECMAKE += "\
|
||||||
|
-DENABLE_CJSON_UTILS=On \
|
||||||
|
-DENABLE_CUSTOM_COMPILER_FLAGS=OFF \
|
||||||
|
-DBUILD_SHARED_AND_STATIC_LIBS=On \
|
||||||
|
"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
Reference in New Issue
Block a user