diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-08 23:33:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-08 23:33:13 +0100 |
commit | 900dd293f8087dff1643b45d7b836702a9ea8fd9 (patch) | |
tree | 0829d8047ff5fda91e78e53de3bd01c094d837b8 /app-metrics/go-carbon/go-carbon-0.17.1.ebuild | |
parent | 02f2b9c649c1687088b6ccb6d30b35f519f107cf (diff) |
gentoo auto-resync : 08:04:2023 - 23:33:13
Diffstat (limited to 'app-metrics/go-carbon/go-carbon-0.17.1.ebuild')
-rw-r--r-- | app-metrics/go-carbon/go-carbon-0.17.1.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-metrics/go-carbon/go-carbon-0.17.1.ebuild b/app-metrics/go-carbon/go-carbon-0.17.1.ebuild new file mode 100644 index 000000000000..5b808efaa023 --- /dev/null +++ b/app-metrics/go-carbon/go-carbon-0.17.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="Golang implementation of Graphite/Carbon server" +HOMEPAGE="https://github.com/go-graphite/go-carbon" +SRC_URI="https://github.com/go-graphite/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND} + acct-group/carbon + acct-user/carbon" +BDEPEND="" + +src_install() { + insinto /etc/go-carbon + doins "${S}"/go-carbon.conf.example + dobin go-carbon + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} +} |