buildroot/package/graphite2/graphite2.mk
Fabrice Fontaine 781f3f97db package/graphite2: add GRAPHITE2_CPE_ID_VENDOR
cpe:2.3🅰️sil:graphite2 is a valid CPE identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Asil%3Agraphite2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-01-17 14:53:33 +01:00

26 lines
792 B
Makefile

################################################################################
#
# graphite2
#
################################################################################
GRAPHITE2_VERSION = 1.3.14
GRAPHITE2_SOURCE = graphite2-$(GRAPHITE2_VERSION).tgz
GRAPHITE2_SITE = \
https://github.com/silnrsi/graphite/releases/download/$(GRAPHITE2_VERSION)
GRAPHITE2_INSTALL_STAGING = YES
GRAPHITE2_LICENSE = LGPL-2.1+
GRAPHITE2_LICENSE_FILES = LICENSE
GRAPHITE2_CPE_ID_VENDOR = sil
# Avoid building docs and tests to save time
define GRAPHITE2_DISABLE_TESTS_DOC
$(SED) '/^add_subdirectory(doc)/d' \
-e '/^add_subdirectory(tests)/d' \
-e '/add_subdirectory(gr2fonttest)/d' \
$(@D)/CMakeLists.txt
endef
GRAPHITE2_POST_PATCH_HOOKS += GRAPHITE2_DISABLE_TESTS_DOC
$(eval $(cmake-package))