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.
34 lines
924 B
34 lines
924 B
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-2.3.2.1-r1.ebuild,v 1.8 2012/06/12 02:31:58 zmedico Exp $
|
|
|
|
inherit eutils multilib
|
|
DESCRIPTION="A nagios plugin for checking logfiles"
|
|
HOMEPAGE="http://www.consol.com/opensource/nagios/check-logfiles"
|
|
|
|
MY_P=${P/nagios-/}
|
|
|
|
SRC_URI="http://www.consol.com/fileadmin/opensource/Nagios/${MY_P}.tar.gz"
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~alpha amd64 ~ppc ppc64 ~sparc x86"
|
|
IUSE=""
|
|
|
|
DEPEND=">=net-analyzer/nagios-plugins-1.4.13-r1"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
src_compile() {
|
|
econf \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/$(get_libdir)/nagios/plugins \
|
|
--sysconfdir=/etc/nagios || die "econf failed"
|
|
emake || die "emake failed"
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install || die "emake install failed"
|
|
}
|