[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

13
package/json-c/Config.in Normal file
View File

@ -0,0 +1,13 @@
config BR2_PACKAGE_JSON_C
bool "json-c"
# 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,4 @@
# From https://github.com/json-c/json-c/wiki
sha256 8e45ac8f96ec7791eaf3bb7ee50e9c2100bbbc87b8d0f1d030c5ba8a0288d96b json-c-0.16.tar.gz
# Locally calculated
sha256 74c1e6ca5eba76b54d0ad00d4815c8315c1b3bc45ff99de61d103dc92486284c COPYING

16
package/json-c/json-c.mk Normal file
View File

@ -0,0 +1,16 @@
################################################################################
#
# json-c
#
################################################################################
JSON_C_VERSION = 0.16
JSON_C_SITE = https://s3.amazonaws.com/json-c_releases/releases
JSON_C_INSTALL_STAGING = YES
JSON_C_LICENSE = MIT
JSON_C_LICENSE_FILES = COPYING
JSON_C_CPE_ID_VENDOR = json-c_project
JSON_C_CONF_OPTS = -DDISABLE_EXTRA_LIBS=ON
$(eval $(cmake-package))
$(eval $(host-cmake-package))