blob: a561ddf3dbe16be38c3d4ed864cc28292ad546a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/mondo/mondo-0.6.ebuild,v 1.4 2002/10/04 06:27:46 vapier Exp $
DESCRIPTION="A System Health Monitor"
HOMEPAGE="http://mondo-daemon.sourceforge.net/"
KEYWORDS="x86 -ppc"
SLOT="0"
LICENSE="GPL-2"
DEPEND=">=sys-apps/lm_sensors-2.6.3"
SRC_URI="http://telia.dl.sourceforge.net/sourceforge/mondo-daemon/${P}.tar.gz"
S=${WORKDIR}/${P}
src_compile() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--host=${CHOST} || die
make || die
}
src_install () {
make prefix=${D}/usr \
sysconfdir=${D}/etc \
mandir=${D}/usr/share/man \
docdir=${D}/usr/share/doc/${PF} \
install || die
dodoc AUTHORS COPYING ChangeLog INSTALL README TODO
exeinto /etc/init.d
newexe ${FILESDIR}/mondo.sh mondo
}
pkg_postinst() {
einfo
einfo "The mondo system health monitor has been installed."
einfo
einfo "Don't forget to setup lm_sensors before starting mondo."
einfo "Run mondo-setup or edit /etc/mondo.conf manually and run"
einfo "'rc-update add mondo <runlevel>' to add mondo to a runlevel."
einfo
}
|