Add buildroot 2018-02
This commit is contained in:
11
buildroot/package/rapidjson/Config.in
Normal file
11
buildroot/package/rapidjson/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_RAPIDJSON
|
||||
bool "rapidjson"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
A fast JSON parser/generator for C++ with both SAX/DOM style
|
||||
API.
|
||||
|
||||
http://rapidjson.org/
|
||||
|
||||
comment "rapidjson needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
2
buildroot/package/rapidjson/rapidjson.hash
Normal file
2
buildroot/package/rapidjson/rapidjson.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e rapidjson-v1.1.0.tar.gz
|
||||
21
buildroot/package/rapidjson/rapidjson.mk
Normal file
21
buildroot/package/rapidjson/rapidjson.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# rapidjson
|
||||
#
|
||||
################################################################################
|
||||
|
||||
RAPIDJSON_VERSION = v1.1.0
|
||||
RAPIDJSON_SITE = $(call github,miloyip,rapidjson,$(RAPIDJSON_VERSION))
|
||||
RAPIDJSON_LICENSE = MIT
|
||||
RAPIDJSON_LICENSE_FILES = license.txt
|
||||
|
||||
# rapidjson is a header-only C++ library
|
||||
RAPIDJSON_INSTALL_TARGET = NO
|
||||
RAPIDJSON_INSTALL_STAGING = YES
|
||||
|
||||
RAPIDJSON_CONF_OPTS = \
|
||||
-DRAPIDJSON_BUILD_DOC=OFF \
|
||||
-DRAPIDJSON_BUILD_EXAMPLES=OFF \
|
||||
-DRAPIDJSON_BUILD_TESTS=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user