Add package json-c-openipc

pull/114/head
Igor Zalatov (from Citadel PC) 2021-12-15 19:35:09 +03:00
parent 8fc0fb8d4e
commit 56d9b18423
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,13 @@
config BR2_PACKAGE_JSON_C_OPENIPC
bool "json-c-openipc"
# uses __sync_val_compare_and_swap_4
depends on BR2_TOOLCHAIN_HAS_SYNC_4
help
JSON-C - A JSON implementation in C
JSON-C implements a reference counting object model that
allows you to easily construct JSON objects in C, output
them as JSON formatted strings and parse JSON formatted
strings back into the C representation of JSON objects.
https://github.com/json-c/json-c/

View File

@ -0,0 +1,14 @@
################################################################################
#
# json-c-openipc
#
################################################################################
JSON_C_OPENIPC_VERSION = json-c-0.15-20200726
JSON_C_OPENIPC_SITE = $(call github,json-c,json-c,v$(JSON_C_OPENIPC_VERSION))
JSON_C_OPENIPC_INSTALL_STAGING = YES
JSON_C_OPENIPC_LICENSE = MIT
JSON_C_OPENIPC_LICENSE_FILES = COPYING
$(eval $(cmake-package))
$(eval $(host-cmake-package))