mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-28 22:17:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_YAML_CPP
|
||||
bool "yaml-cpp"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
|
||||
help
|
||||
yaml-cpp is a YAML parser and emitter in C++ matching
|
||||
the YAML 1.2 spec.
|
||||
|
||||
https://github.com/jbeder/yaml-cpp
|
||||
|
||||
comment "yaml-cpp needs a toolchain w/ C++, gcc >= 4.7"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
|
||||
@@ -0,0 +1,3 @@
|
||||
# locally computed
|
||||
sha256 fbe74bbdcee21d656715688706da3c8becfd946d92cd44705cc6098bb23b3a16 yaml-cpp-0.8.0.tar.gz
|
||||
sha256 aa6fcc27be034e41e21dd832f9175bfe694a48491d9e14ff0fa278e19ad14f1b LICENSE
|
||||
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# yaml-cpp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
YAML_CPP_VERSION = 0.8.0
|
||||
YAML_CPP_SITE = $(call github,jbeder,yaml-cpp,$(YAML_CPP_VERSION))
|
||||
YAML_CPP_INSTALL_STAGING = YES
|
||||
YAML_CPP_LICENSE = MIT
|
||||
YAML_CPP_LICENSE_FILES = LICENSE
|
||||
YAML_CPP_CPE_ID_VALID = YES
|
||||
|
||||
# Disable testing and parse tools
|
||||
YAML_CPP_CONF_OPTS += \
|
||||
-DCMAKE_DEBUG_POSTFIX="" \
|
||||
-DYAML_CPP_BUILD_TESTS=OFF \
|
||||
-DYAML_CPP_BUILD_TOOLS=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user