/[gentoo-x86]/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-2.3.2.1-r1.ebuild
Gentoo

Contents of /net-analyzer/nagios-check_logfiles/nagios-check_logfiles-2.3.2.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Tue Jun 12 02:31:58 2012 UTC (6 years, 5 months ago) by zmedico
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
inherit multilib for get_libdir

(Portage version: 2.2.0_alpha110_p25/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-2.3.2.1-r1.ebuild,v 1.7 2009/03/18 22:18:37 ranger Exp $
4
5 inherit eutils multilib
6 DESCRIPTION="A nagios plugin for checking logfiles"
7 HOMEPAGE="http://www.consol.com/opensource/nagios/check-logfiles"
8
9 MY_P=${P/nagios-/}
10
11 SRC_URI="http://www.consol.com/fileadmin/opensource/Nagios/${MY_P}.tar.gz"
12 LICENSE="GPL-3"
13 SLOT="0"
14
15 KEYWORDS="~alpha amd64 ~ppc ppc64 ~sparc x86"
16 IUSE=""
17
18 DEPEND=">=net-analyzer/nagios-plugins-1.4.13-r1"
19 RDEPEND="${DEPEND}"
20
21 S="${WORKDIR}/${MY_P}"
22
23 src_compile() {
24 econf \
25 --prefix=/usr \
26 --libexecdir=/usr/$(get_libdir)/nagios/plugins \
27 --sysconfdir=/etc/nagios || die "econf failed"
28 emake || die "emake failed"
29 }
30
31 src_install() {
32 emake DESTDIR="${D}" install || die "emake install failed"
33 }

  ViewVC Help
Powered by ViewVC 1.1.20