package: add json-c library

json-c is a JSON library written in C.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2011-09-28 22:18:29 +02:00
parent c6fe0f1ee7
commit 6fc42cda36
3 changed files with 23 additions and 0 deletions

View file

@ -370,6 +370,7 @@ endmenu
menu "JSON/XML"
source "package/expat/Config.in"
source "package/ezxml/Config.in"
source "package/json-c/Config.in"
source "package/libroxml/Config.in"
source "package/libxml-parser-perl/Config.in"
source "package/libxml2/Config.in"

11
package/json-c/Config.in Normal file
View file

@ -0,0 +1,11 @@
config BR2_PACKAGE_JSON_C
bool "json-c"
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.
http://oss.metaparadigm.com/json-c/

11
package/json-c/json-c.mk Normal file
View file

@ -0,0 +1,11 @@
################################################################################
#
# json-c
#
################################################################################
JSON_C_VERSION = 0.9
JSON_C_SITE = http://oss.metaparadigm.com/json-c/
JSON_C_INSTALL_STAGING = YES
$(eval $(call AUTOTARGETS,package,json-c))