diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/nagios-check_linux_bonding/nagios-check_linux_bonding-1.4.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/nagios-check_linux_bonding/nagios-check_linux_bonding-1.4.ebuild')
-rw-r--r-- | net-analyzer/nagios-check_linux_bonding/nagios-check_linux_bonding-1.4.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net-analyzer/nagios-check_linux_bonding/nagios-check_linux_bonding-1.4.ebuild b/net-analyzer/nagios-check_linux_bonding/nagios-check_linux_bonding-1.4.ebuild new file mode 100644 index 000000000000..f4770fb1ae58 --- /dev/null +++ b/net-analyzer/nagios-check_linux_bonding/nagios-check_linux_bonding-1.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit multilib + +MY_P=${P/nagios-/} + +DESCRIPTION="Nagios plugin to monitor bonding status of network interfaces" +HOMEPAGE="http://folk.uio.no/trondham/software/check_linux_bonding.html" +SRC_URI="http://folk.uio.no/trondham/software/files/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/perl" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_install() { + default + + local nagiosplugindir=/usr/$(get_libdir)/nagios/plugins + dodir "${nagiosplugindir}" + exeinto ${nagiosplugindir} + doexe check_linux_bonding + + dodoc CHANGES + doman man/check_linux_bonding.8 +} |