libbson: new package
Signed-off-by: Semyon Kolganov <semenak94@mail.ru> [Arnout: remove _SOURCE, fix spelling in comment] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Thomas: add missing Config.in comment, and DEVELOPERS entry.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
04d8d59615
commit
d5f821d2bd
|
@ -1417,6 +1417,7 @@ F: package/yaml-cpp/
|
|||
|
||||
N: Semyon Kolganov <semenak94@mail.ru>
|
||||
F: package/fmt/
|
||||
F: package/libbson/
|
||||
|
||||
N: Sergio Prado <sergio.prado@e-labworks.com>
|
||||
F: package/libgdiplus/
|
||||
|
|
|
@ -1159,6 +1159,7 @@ menu "JSON/XML"
|
|||
source "package/json-c/Config.in"
|
||||
source "package/json-glib/Config.in"
|
||||
source "package/jsoncpp/Config.in"
|
||||
source "package/libbson/Config.in"
|
||||
source "package/libfastjson/Config.in"
|
||||
source "package/libjson/Config.in"
|
||||
source "package/libroxml/Config.in"
|
||||
|
|
9
package/libbson/Config.in
Normal file
9
package/libbson/Config.in
Normal file
|
@ -0,0 +1,9 @@
|
|||
config BR2_PACKAGE_LIBBSON
|
||||
bool "libbson"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
libbson is a library providing useful routines related to
|
||||
building, parsing, and iterating BSON documents.
|
||||
|
||||
comment "libbson needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
2
package/libbson/libbson.hash
Normal file
2
package/libbson/libbson.hash
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Locally calculated
|
||||
sha256 aad410123e4bd8a9804c3c3d79e03344e2df104872594dc2cf19605d492944ba libbson-1.6.2.tar.gz
|
21
package/libbson/libbson.mk
Normal file
21
package/libbson/libbson.mk
Normal file
|
@ -0,0 +1,21 @@
|
|||
################################################################################
|
||||
#
|
||||
# libbson
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBBSON_VERSION = 1.6.2
|
||||
LIBBSON_SITE = https://github.com/mongodb/libbson/releases/download/$(LIBBSON_VERSION)
|
||||
LIBBSON_LICENSE = Apache-2.0, MIT (jsonl), ISC (b64), Zlib (md5)
|
||||
LIBBSON_LICENSE_FILES = COPYING THIRD_PARTY_NOTICES
|
||||
LIBBSON_CONF_OPTS = \
|
||||
--disable-tests \
|
||||
--disable-examples \
|
||||
--disable-man-pages \
|
||||
--disable-html-docs
|
||||
|
||||
LIBBSON_INSTALL_STAGING = YES
|
||||
|
||||
# Also has CMake support, but that forces shared+static libs and static
|
||||
# lib has a different name.
|
||||
$(eval $(autotools-package))
|
Loading…
Reference in a new issue