aboutsummaryrefslogtreecommitdiff
blob: b9277d4f2ddaead502c76aad278041449f35dd7e (plain)
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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="7"

COMMIT="84f6a325fda18678cd08e9c3615d76e747a5ab51"

DESCRIPTION="This package provides various plugins for Munin"
HOMEPAGE="https://github.com/mendix/munin-plugins-mendix"
SRC_URI="https://github.com/mendix/munin-plugins-mendix/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
LICENSE="BSD"
SLOT="0"
RDEPEND="net-analyzer/munin"

src_prepare() {
	default
}

src_configure() {
	return
}

src_compile() {
	return
}

src_install() {
	#install plugins without getting mad at preserving exec bit
	mkdir -p "${ED}/usr/libexec/munin/plugins/mendix" || die
	mv plugins/* "${ED}/usr/libexec/munin/plugins/mendix" || die

	insinto "/etc/munin/plugin-conf.d/"
	doins -r plugin-conf/*
}