libfastjson: new package

Libfastjson is a fork of json-c, and a dependency of newer versions of
rsyslog.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Peter Korsgaard 2016-06-15 15:17:46 +02:00 committed by Thomas Petazzoni
parent d046ee8d0e
commit 179c382c06
4 changed files with 34 additions and 0 deletions

View File

@ -1060,6 +1060,7 @@ menu "JSON/XML"
source "package/json-c/Config.in"
source "package/json-glib/Config.in"
source "package/jsoncpp/Config.in"
source "package/libfastjson/Config.in"
source "package/libjson/Config.in"
source "package/libroxml/Config.in"
source "package/libucl/Config.in"

View File

@ -0,0 +1,16 @@
config BR2_PACKAGE_LIBFASTJSON
bool "libfastjson"
# uses __sync_val_compare_and_swap_4
depends on BR2_TOOLCHAIN_HAS_SYNC_4
help
Libfastjson - A fast json library for C
Libfastjson is a fork from json-c. The aim of this project
is not to provide a slightly modified clone of json-c.
Its aim is to provide:
- a small library with essential json handling functions
- sufficiently good json support (not 100% standards compliant)
- be very fast in processing
https://github.com/rsyslog/libfastjson/

View File

@ -0,0 +1,2 @@
# Locally calculated
sha256 fcdca0c4702362de3db3f02c8da05f985b54a9eccd618af41730409b75d10a8f libfastjson-v0.99.2.tar.gz

View File

@ -0,0 +1,15 @@
################################################################################
#
# libfastjson
#
################################################################################
LIBFASTJSON_VERSION = v0.99.2
LIBFASTJSON_SITE = $(call github,rsyslog,libfastjson,$(LIBFASTJSON_VERSION))
LIBFASTJSON_INSTALL_STAGING = YES
# From git
LIBFASTJSON_AUTORECONF = YES
LIBFASTJSON_LICENSE = MIT
LIBFASTJSON_LICENSE_FILES = COPYING
$(eval $(autotools-package))