diff options
Diffstat (limited to 'www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-9999.ebuild')
-rw-r--r-- | www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-9999.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-9999.ebuild b/www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-9999.ebuild new file mode 100644 index 000000000000..7e359c940e4c --- /dev/null +++ b/www-apps/icingaweb2-module-graphite/icingaweb2-module-graphite-9999.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 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.1.1 + >=www-apps/icingaweb2-2.0.0" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/patch-unquote-service.patch" ) + +src_install() { + insinto "/usr/share/icingaweb2/modules/graphite/" + doins -r "${S}"/* +} |