blob: 1722cdeaadb2c5ca2558062574f9ea4dce7c17b7 (
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
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Icinga Web 2 plugin for pnp4nagios"
HOMEPAGE="http://www.icinga.org/"
if [[ "${PV}" == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Icinga/icingaweb2-module-graphite.git"
else
KEYWORDS="~amd64 ~x86"
MY_PN="icingaweb2-module-pnp"
SRC_URI="https://codeload.github.com/Icinga/${MY_PN}/tar.gz/v${PV} -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
fi
LICENSE="GPL-2"
SLOT="0"
DEPEND=">=net-analyzer/icinga2-2.4.0
>=www-apps/icingaweb2-2.5.0"
RDEPEND="${DEPEND}"
PATCHES=()
src_install() {
insinto "/usr/share/icingaweb2/modules/graphite/"
doins -r "${S}"/*
}
|