imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / rapidjson / Makefile
blobf10b4f8edc13b4a47aab4639877651f7816b431e
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= rapidjson
7 PKG_VERSION:= 1.1.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e
10 PKG_DESCR:= fast json parser/generator for c++
11 PKG_SECTION:= libs/data
12 PKG_URL:= http://rapidjson.org
13 PKG_SITES:= https://github.com/Tencent/rapidjson/archive/
14 PKG_OPTS:= dev
16 DISTFILES:= v$(PKG_VERSION).tar.gz
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,RAPIDJSON,rapidjson,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
22 CONFIG_STYLE:= cmake
23 CMAKE_FLAGS+= -DRAPIDJSON_BUILD_DOC=OFF \
24 -DRAPIDJSON_BUILD_EXAMPLES=OFF \
25 -DRAPIDJSON_BUILD_TESTS=OFF \
26 -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF \
27 -DRAPIDJSON_BUILD_ASAN=OFF \
28 -DRAPIDJSON_BUILD_UBSAN=OFF \
29 -DRAPIDJSON_HAS_STDSTRING=ON
31 rapidjson-install:
33 include $(ADK_TOPDIR)/mk/pkg-bottom.mk