distribution/packages/devel/rapidjson/package.mk

20 lines
860 B
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="rapidjson"
PKG_VERSION="1.1.0"
PKG_SHA256="bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e"
PKG_LICENSE="MIT"
PKG_SITE="https://github.com/miloyip/rapidjson"
PKG_URL="https://github.com/miloyip/rapidjson/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A fast JSON parser/generator for C++ with both SAX/DOM style API"
PKG_CMAKE_OPTS_TARGET="-DRAPIDJSON_BUILD_DOC=OFF \
-DRAPIDJSON_BUILD_EXAMPLES=OFF \
-DRAPIDJSON_BUILD_TESTS=OFF \
-DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF \
-DRAPIDJSON_BUILD_ASAN=OFF \
-DRAPIDJSON_BUILD_UBSAN=OFF \
-DRAPIDJSON_HAS_STDSTRING=ON"