From ad78aa38a07dcf38d30798dd7c89bddd7ff0d058 Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Thu, 30 Jun 2016 17:57:05 -0500 Subject: www-apps/icingaweb2-module-director: adding for bug 582568 Package-Manager: portage-2.2.28 --- .../icingaweb2-module-director-9999.ebuild | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 www-apps/icingaweb2-module-director/icingaweb2-module-director-9999.ebuild (limited to 'www-apps/icingaweb2-module-director/icingaweb2-module-director-9999.ebuild') diff --git a/www-apps/icingaweb2-module-director/icingaweb2-module-director-9999.ebuild b/www-apps/icingaweb2-module-director/icingaweb2-module-director-9999.ebuild new file mode 100644 index 000000000000..539cc51bcc14 --- /dev/null +++ b/www-apps/icingaweb2-module-director/icingaweb2-module-director-9999.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Icinga Web 2 plugin for configuration" +HOMEPAGE="https://dev.icinga.org/projects/icingaweb2-module-director/" +if [[ "${PV}" == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Icinga/icingaweb2-module-director.git" +else + KEYWORDS="~amd64 ~x86" + MY_PN="icingaweb2-module-director" + 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.3 + >=www-apps/icingaweb2-2.2.0 + || ( + dev-lang/php:5.6[curl] + dev-lang/php:7.0[curl] + )" +RDEPEND="${DEPEND}" + +src_install() { + insinto "/usr/share/icingaweb2/modules/director/" + doins -r "${S}"/* +} -- cgit v1.2.3-65-gdbad