kumquat-buildroot/package/yaml-cpp/yaml-cpp.mk
Fabrice Fontaine 37fe2998ef package/yaml-cpp: set YAML_CPP_CPE_ID_VALID
cpe:2.3🅰️yaml-cpp_project:yaml-cpp is a valid CPE identifier for this
package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Ayaml-cpp_project%3Ayaml-cpp

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-01-21 22:04:39 +01:00

26 lines
678 B
Makefile

################################################################################
#
# yaml-cpp
#
################################################################################
YAML_CPP_VERSION = 0.6.3
YAML_CPP_SITE = $(call github,jbeder,yaml-cpp,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 += \
-DYAML_CPP_BUILD_TESTS=OFF \
-DYAML_CPP_BUILD_TOOLS=OFF
ifeq ($(BR2_STATIC_LIBS),y)
YAML_CPP_CONF_OPTS += -DYAML_BUILD_SHARED_LIBS=OFF
else
YAML_CPP_CONF_OPTS += -DYAML_BUILD_SHARED_LIBS=ON
endif
$(eval $(cmake-package))