/[gentoo-x86]/net-analyzer/prelude-nagios/prelude-nagios-0.0.2.ebuild
Gentoo

Contents of /net-analyzer/prelude-nagios/prelude-nagios-0.0.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Wed Nov 30 10:12:27 2005 UTC (14 years, 2 months ago) by chriswhite
Changes since 1.1: +10 -10 lines
*** empty log message ***

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/prelude-nagios/prelude-nagios-0.0.2.ebuild,v 1.6 2004/07/08 23:11:12 eldad Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Plugin for Nagios to talk with Prelude"
8 HOMEPAGE="http://www.exaprobe.com/labs/downloads/index.php3?DIR=/downloads/Nagios_Plugin"
9 SRC_URI="http://www.exaprobe.com/labs/downloads/Nagios_Plugin/prelude-nagios-${PV}.tar.gz"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="x86"
13 IUSE=""
14 DEPEND="
15 || ( dev-libs/libprelude dev-libs/libprelude-cvs )"
16 RDEPEND="${DEPEND}
17 net-analyzer/nagios-core"
18
19 src_unpack() {
20 # prelude-nagios-0.0.2.tar.gz is a POSIX tar archive from exaprobe
21 # In the future I think we should to try to avoid calling
22 # tar directly from ebuilds.
23
24 # Our possible solutions.
25 # 1) email exaprobe and inform them that the .tar.gz is only a .tar
26 # 2) Repackage the tarball as a .bz2 and put it on a gentoo mirror
27
28 tar xvf ${DISTDIR}/${A} -C ${WORKDIR}
29 #unpack ${A}
30 epatch ${FILESDIR}/prelude-nagios-${PV}-001.patch
31 }
32
33 src_compile() {
34 econf || die "econf failed"
35 emake || die "emake failed"
36 }
37
38 src_install() {
39 insinto /etc/prelude-nagios
40 doins prelude-nagios.conf
41
42 exeinto /usr/nagios/bin
43 doexe src/prelude-nagios
44 }

  ViewVC Help
Powered by ViewVC 1.1.20