summaryrefslogtreecommitdiff
blob: f37b91a9c7fa17e7434a61d02504ff3f30d3325e (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-fingerd/netkit-fingerd-0.17-r2.ebuild,v 1.11 2002/12/09 04:33:16 manson Exp $

MY_PN=${PN/netkit/bsd}
MY_PN=${MY_PN/rd/r}
S=${WORKDIR}/${MY_PN}-${PV}
DESCRIPTION="Netkit - fingerd"
SRC_URI="http://ftp.debian.org/debian/pool/main/b/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz"
HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
DEPEND=">=sys-libs/glibc-2.1.3"
KEYWORDS="x86 ppc sparc "
LICENSE="bsd"
SLOT="0"

src_unpack() {
	unpack ${A}
	patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
}

src_compile() {	 
	./configure || die
	make || die
}

src_install() {							   
	into /usr
	dobin  finger/finger
	dosbin fingerd/fingerd
	dosym  fingerd /usr/sbin/in.fingerd
	doman  finger/finger.1
	doman  fingerd/fingerd.8
	dosym  fingerd.8.gz /usr/share/man/man8/in.fingerd.8.gz
	dodoc  README ChangeLog BUGS
}