1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# -*-makefile-*-
#
# Copyright (C) 2018 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_GRAPHITE2) += graphite2
#
# Paths and names
#
GRAPHITE2_VERSION := 1.3.14
GRAPHITE2_MD5 := 1bccb985a7da01092bfb53bb5041e836
GRAPHITE2 := graphite2-$(GRAPHITE2_VERSION)
GRAPHITE2_SUFFIX := tgz
GRAPHITE2_URL := https://github.com/silnrsi/graphite/releases/download/$(GRAPHITE2_VERSION)/$(GRAPHITE2).$(GRAPHITE2_SUFFIX)
GRAPHITE2_SOURCE := $(SRCDIR)/$(GRAPHITE2).$(GRAPHITE2_SUFFIX)
GRAPHITE2_DIR := $(BUILDDIR)/$(GRAPHITE2)
GRAPHITE2_LICENSE := LGPL-2.1-or-later OR GPL-2.0-or-later OR MPL-2.0
GRAPHITE2_LICENSE_FILES := \
file://src/Code.cpp;startline=1;endline=26;md5=a919fa4bf0a64c4b3cc01c3cbe0d293f \
file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
GRAPHITE2_CONF_TOOL := cmake
GRAPHITE2_CONF_OPT := \
$(CROSS_CMAKE_USR) \
-DCMAKE_DISABLE_FIND_PACKAGE_Freetype=ON
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/graphite2.targetinstall:
@$(call targetinfo)
@$(call install_init, graphite2)
@$(call install_fixup, graphite2,PRIORITY,optional)
@$(call install_fixup, graphite2,SECTION,base)
@$(call install_fixup, graphite2,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
@$(call install_fixup, graphite2,DESCRIPTION,missing)
@$(call install_lib, graphite2, 0, 0, 0644, libgraphite2)
@$(call install_finish, graphite2)
@$(call touch)
# vim: syntax=make
|