summaryrefslogtreecommitdiff
blob: 8caa07da77f84158cf47b524cce001e35a44d088 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-timed/netkit-timed-0.17-r2.ebuild,v 1.4 2001/09/10 02:06:30 woodchip Exp $

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

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/rc.d/init.d
        newexe ${FILESDIR}/timed.rc5 timed
}