1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
12 DESCRIPTION="A nagios plugin for checking MySQL server health"
13 HOMEPAGE="http://labs.consol.de/lang/de/nagios/${MY_PN}/"
14 SRC_URI="http://labs.consol.de/download/shinken-nagios-plugins/${MY_P}.tar.gz"
18 KEYWORDS="~amd64 ~x86"
21 # Found by grepping for "use " in the built
22 # plugins-scripts/check_mysql_health.
23 RDEPEND="dev-perl/DBD-mysql
25 virtual/perl-Data-Dumper
26 virtual/perl-File-Temp
28 virtual/perl-Time-HiRes"
30 S="${WORKDIR}/${MY_P}"
33 # Should match net-analyzer/{monitoring,nagios}-plugins.
34 econf --libexecdir="/usr/$(get_libdir)/nagios/plugins"
38 # These should match net-analyzer/{monitoring,nagios}-plugins.
40 enewuser nagios -1 /bin/bash /var/nagios/home nagios