You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2...

32 lines
844 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.1.8.2.ebuild,v 1.2 2014/01/26 02:59:42 creffett Exp $
EAPI=5
inherit multilib autotools
DESCRIPTION="A nagios plugin for checking MySQL server health"
HOMEPAGE="http://labs.consol.de/lang/de/nagios/check_mysql_health/"
SRC_URI="http://labs.consol.de/download/shinken-nagios-plugins/check_mysql_health-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=net-analyzer/nagios-plugins-1.4.13-r1"
RDEPEND="${DEPEND}
virtual/mysql"
S="${WORKDIR}"/check_mysql_health-${PV}
src_prepare() {
eautoreconf
}
src_install() {
exeinto /usr/$(get_libdir)/nagios/plugins
doexe plugins-scripts/check_mysql_health
}