blob: 8e96db0526f1e169782f216f283b24b382805288 (
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
47
48
49
50
51
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/xmlsysd/xmlsysd-0.1.5.ebuild,v 1.3 2004/06/24 22:42:07 agriffis Exp $
DESCRIPTION="A beowulf monitor daemon."
SRC_URI="http://www.phy.duke.edu/~rgb/Beowulf/xmlsysd/${PN}.tgz"
HOMEPAGE="http://www.phy.duke.edu/~rgb/Beowulf/xmlsysd.php"
KEYWORDS="~x86"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
DEPEND="virtual/inetd
virtual/glibc
dev-libs/libxml
sys-libs/zlib
sys-libs/ncurses"
RDEPEND=""
S=${WORKDIR}/${PN}
src_compile() {
make || die "Make failed"
}
src_install() {
into /usr
dosbin xmlsysd
doman xmlsysd.8
insinto /etc/xinetd.d
newins ${FILESDIR}/xmlsysd.xinetd xmlsysd
dodoc CHANGES DESIGN README TODO
}
pkg_postinst() {
einfo "If you havent done so already please execute the following command"
einfo "\"ebuild /var/db/pkg/sys-cluster/${PF}/${PF}.ebuild config\""
einfo "to add xmlsysd to /etc/services."
einfo ""
einfo "Be sure to edit /etc/xinetd.d/xmylsysd to suit your own options."
einfo ""
}
pkg_config() {
echo "xmlsysd 7887/tcp # xmlsysd remote system stats" >> /etc/services
einfo "Added xmlsysd to /etc/services"
}
|