blob: 2c1d923a96192d3d6f0cc710ce2e65ae36026c84 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rwho/netkit-rwho-0.17.ebuild,v 1.7 2004/06/24 23:58:49 agriffis Exp $
inherit eutils
S=${WORKDIR}/${P}
DESCRIPTION="Netkit - ruptime/rwho/rwhod"
HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html"
SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz"
SLOT="0"
LICENSE="BSD"
KEYWORDS="x86 ~ppc ~sparc alpha ~mips s390"
DEPEND="virtual/glibc
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${PF}-gentoo.diff
}
src_compile() {
./configure || die
sed -i "s:-O2::" -i "s:-Wpointer-arith::" MCONFIG
emake || die
}
src_install() {
keepdir /var/spool/rwho
into /usr
dobin ruptime/ruptime
doman ruptime/ruptime.1
dobin rwho/rwho
doman rwho/rwho.1
dosbin rwhod/rwhod
doman rwhod/rwhod.8
dodoc README ChangeLog
exeinto /etc/init.d
newexe ${FILESDIR}/${PF}-rc rwhod
}
|