From: Ting Liu <[email protected]> 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 <[email protected]> --- Changes from v1: rename recipe from cjson_git.bb to cjson_1.7.13.bb add SECTION enable building cJSON_Utils not append ${libdir}/cmake to FILES_${PN}-dev as it is default .../recipes-devtools/cjson/cjson_1.7.13.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-oe/recipes-devtools/cjson/cjson_1.7.13.bb diff --git a/meta-oe/recipes-devtools/cjson/cjson_1.7.13.bb b/meta-oe/recipes-devtools/cjson/cjson_1.7.13.bb new file mode 100644 index 000000000..e6174821f --- /dev/null +++ b/meta-oe/recipes-devtools/cjson/cjson_1.7.13.bb @@ -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" -- 2.25.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#84092): https://lists.openembedded.org/g/openembedded-devel/message/84092 Mute This Topic: https://lists.openembedded.org/mt/73275769/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
