Lines 1-6
Link Here
|
1 |
# Copyright 1999-2006 Gentoo Foundation |
1 |
# Copyright 1999-2006 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-4.8.1.ebuild,v 1.1 2006/06/10 13:39:56 matsuu Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
DESCRIPTION="a utility for monitoring and managing daemons or similar programs running on a Unix system." |
5 |
DESCRIPTION="a utility for monitoring and managing daemons or similar programs running on a Unix system." |
6 |
HOMEPAGE="http://www.tildeslash.com/monit/" |
6 |
HOMEPAGE="http://www.tildeslash.com/monit/" |
Lines 17-38
Link Here
|
17 |
sys-devel/flex |
17 |
sys-devel/flex |
18 |
sys-devel/bison" |
18 |
sys-devel/bison" |
19 |
|
19 |
|
|
|
20 |
src_unpack() { |
21 |
unpack ${A} |
22 |
cd "${S}" |
23 |
sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in" |
24 |
} |
25 |
|
20 |
src_compile() { |
26 |
src_compile() { |
21 |
econf `use_with ssl` || die |
27 |
econf $(use_with ssl) || die "econf failed" |
22 |
emake || die |
28 |
emake || die "emake failed" |
23 |
} |
29 |
} |
24 |
|
30 |
|
25 |
src_install() { |
31 |
src_install() { |
26 |
make DESTDIR="${D}" install || die |
32 |
make DESTDIR="${D}" install || die "make install failed" |
27 |
|
33 |
|
28 |
dodoc CHANGES.txt CONTRIBUTORS FAQ.txt README* STATUS UPGRADE.txt |
34 |
dodoc CHANGES.txt CONTRIBUTORS FAQ.txt README* STATUS UPGRADE.txt |
29 |
dohtml -r doc/* |
35 |
dohtml -r doc/* |
30 |
|
36 |
|
31 |
insinto /etc; insopts -m700; doins monitrc || die |
37 |
insinto /etc; insopts -m700; doins monitrc || die "doins monitrc failed" |
32 |
newinitd "${FILESDIR}"/monit.initd-${PV} monit || die |
38 |
newinitd "${FILESDIR}"/monit.initd-${PV} monit || die "newinitd failed" |
33 |
} |
39 |
} |
34 |
|
40 |
|
35 |
pkg_postinst() { |
41 |
pkg_postinst() { |
36 |
einfo "Sample configurations are available at" |
42 |
elog "Sample configurations are available at" |
37 |
einfo "http://www.tildeslash.com/monit/doc/examples.php" |
43 |
elog "http://www.tildeslash.com/monit/doc/examples.php" |
38 |
} |
44 |
} |