mirror of
https://github.com/kenzok8/small-package
synced 2025-01-09 08:59:26 +08:00
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# SPDX-License-Identifier: GPL-3.0-only
|
|
#
|
|
# Copyright (C) 2021 ImmortalWrt.org
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=rapidjson
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/Tencent/rapidjson.git
|
|
PKG_SOURCE_DATE:=2024-04-09
|
|
PKG_SOURCE_VERSION:=ab1842a2dae061284c0a62dca1cc6d5e7e37e346
|
|
PKG_MIRROR_HASH:=cc9271895f8015d9e4ad3de70e16d436a6dc8693be5541d70504da31c27b7f69
|
|
|
|
PKG_LICENSE:=BSD 3-Clause
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
|
CMAKE_INSTALL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/rapidjson
|
|
SECTION:=lib
|
|
CATEGORY:=Libraries
|
|
URL:=https://github.com/Tencent/rapidjson
|
|
TITLE:=rapidjson JSON parser/generator for C++
|
|
BUILDONLY:=1
|
|
endef
|
|
|
|
define Package/rapidjson/description
|
|
A fast JSON parser/generator for C++ with both SAX/DOM style API
|
|
endef
|
|
|
|
CMAKE_OPTIONS+= \
|
|
-DRAPIDJSON_BUILD_DOC=OFF \
|
|
-DRAPIDJSON_BUILD_EXAMPLES=OFF \
|
|
-DRAPIDJSON_BUILD_TESTS=OFF
|
|
|
|
$(eval $(call BuildPackage,rapidjson))
|