/[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.8 - (show annotations) (download)
Sat Mar 3 18:16:32 2007 UTC (13 years, 1 month ago) by jokey
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
Error occurred while calculating annotation data.
FILE REMOVED
Drop net-analyzer/prelude-nagios per bug #165006

1 # Copyright 1999-2006 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.7 2006/07/08 05:19:56 mr_bones_ 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="dev-libs/libprelude"
15 RDEPEND="${DEPEND}
16 net-analyzer/nagios-core"
17
18 src_unpack() {
19 # prelude-nagios-0.0.2.tar.gz is a POSIX tar archive from exaprobe
20 # In the future I think we should to try to avoid calling
21 # tar directly from ebuilds.
22
23 # Our possible solutions.
24 # 1) email exaprobe and inform them that the .tar.gz is only a .tar
25 # 2) Repackage the tarball as a .bz2 and put it on a gentoo mirror
26
27 tar xvf ${DISTDIR}/${A} -C ${WORKDIR}
28 #unpack ${A}
29 epatch ${FILESDIR}/prelude-nagios-${PV}-001.patch
30 }
31
32 src_compile() {
33 econf || die "econf failed"
34 emake || die "emake failed"
35 }
36
37 src_install() {
38 insinto /etc/prelude-nagios
39 doins prelude-nagios.conf
40
41 exeinto /usr/nagios/bin
42 doexe src/prelude-nagios
43 }

  ViewVC Help
Powered by ViewVC 1.1.20