diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-06-19 13:03:02 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-06-20 08:31:41 +0200 |
commit | 90ac260e9a86a62a4a31ff4d9d5a4e20eb732f82 (patch) | |
tree | a91e60b4c4cba5a31dd536882aecd0ec7f919e50 /rules/graphite2.make | |
parent | 54adc866b7fa722fa70733e9043fa1c3a46344a1 (diff) | |
download | ptxdist-90ac260e9a86a62a4a31ff4d9d5a4e20eb732f82.tar.gz ptxdist-90ac260e9a86a62a4a31ff4d9d5a4e20eb732f82.tar.xz |
graphite2: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/graphite2.make')
-rw-r--r-- | rules/graphite2.make | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/rules/graphite2.make b/rules/graphite2.make new file mode 100644 index 000000000..206807114 --- /dev/null +++ b/rules/graphite2.make @@ -0,0 +1,57 @@ +# -*-makefile-*- +# +# Copyright (C) 2018 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# 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.11 +GRAPHITE2_MD5 := 9b6166dee759e2175fe7983f65bd8be2 +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 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +GRAPHITE2_CONF_TOOL := cmake + + +# ---------------------------------------------------------------------------- +# 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 |