2015-09-24 16:36:09 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# graphite2
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-08-29 19:25:41 +02:00
|
|
|
GRAPHITE2_VERSION = 1.3.14
|
2016-04-08 22:30:56 +02:00
|
|
|
GRAPHITE2_SOURCE = graphite2-$(GRAPHITE2_VERSION).tgz
|
2020-08-29 19:25:41 +02:00
|
|
|
GRAPHITE2_SITE = \
|
|
|
|
https://github.com/silnrsi/graphite/releases/download/$(GRAPHITE2_VERSION)
|
2015-09-24 16:36:09 +02:00
|
|
|
GRAPHITE2_INSTALL_STAGING = YES
|
2017-03-30 15:43:34 +02:00
|
|
|
GRAPHITE2_LICENSE = LGPL-2.1+
|
2015-09-24 16:36:09 +02:00
|
|
|
GRAPHITE2_LICENSE_FILES = LICENSE
|
2021-01-17 13:17:11 +01:00
|
|
|
GRAPHITE2_CPE_ID_VENDOR = sil
|
2015-09-24 16:36:09 +02:00
|
|
|
|
|
|
|
# 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))
|