summaryrefslogtreecommitdiff
blob: 98d4279eec4dfe6883e678f033fde4cf35f6e4bd (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-timed/netkit-timed-0.17-r6.ebuild,v 1.4 2002/08/01 11:59:03 seemant Exp $

S=${WORKDIR}/${P}   
DESCRIPTION="Netkit - timed"
SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz"
KEYWORDS="x86"
LICENSE="bsd"
SLOT="0"

DEPEND="virtual/glibc"

src_unpack() {
        unpack ${A}
        cp ${FILESDIR}/timed.c ${S}/timed/timed/timed.c
}
 
src_compile() {
        ./configure || die
        make || die
}
 
src_install() {
        dosbin timed/timed/timed
        doman  timed/timed/timed.8
        dosbin timed/timedc/timedc
        doman  timed/timedc/timedc.8
        dodoc  README ChangeLog BUGS
        
        exeinto /etc/init.d
        newexe ${FILESDIR}/timed.rc6 timed
}