/[gentoo-x86]/sys-apps/checkservice/checkservice-1.2.0.ebuild
Gentoo

Contents of /sys-apps/checkservice/checkservice-1.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Feb 13 15:09:15 2006 UTC (8 years, 5 months ago) by mcummings
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
Virtuals for perl-core
(Portage version: 2.1_pre3-r1)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/checkservice/checkservice-1.2.0.ebuild,v 1.3 2005/05/25 14:04:30 mcummings Exp $
4
5 DESCRIPTION="Check the status of services running on local/remote machines"
6 HOMEPAGE="http://www.linvision.com/checkservice/"
7 SRC_URI="http://www.linvision.com/checkservice/files/${P}.tar.gz"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="~x86"
12 IUSE=""
13
14 RDEPEND=">=dev-lang/perl-5.8
15 >=dev-perl/MailTools-1.58
16 >=dev-perl/File-Find-Rule-0.26
17 >=virtual/perl-Getopt-Long-2.34"
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}
22 sed -i -e 's:/usr/local:/usr:g' $(grep -rl /usr/local *) || die "sed /usr/local"
23 }
24
25 src_install() {
26 dodir /var/{log,lock,cache}/checkservice
27 dobin checkservice || die
28
29 insinto /usr/lib/checkservice/check
30 doins plugins/check/* || die "check"
31 insinto /usr/lib/checkservice/warning
32 doins plugins/warning/* || die "warning"
33
34 insinto /usr/lib/perl5/vendor_perl/CS
35 doins lib/CS/* || die "perl5"
36
37 insinto /etc/checkservice/config
38 doins config/{*.mail,*.conf}
39 insinto /etc/checkservice/config/plugins/warning
40 doins config/plugins/warning/*
41
42 doman man/*
43 dodoc INSTALL README TODO checkservice.php cron/checkservice
44 }
45
46 pkg_postinst() {
47 einfo "If you want a php status page or cron checkservice"
48 einfo "read the INSTALL file in docs directory all files"
49 einfo "and info are there"
50 }

  ViewVC Help
Powered by ViewVC 1.1.20