summaryrefslogtreecommitdiff
blob: 587f4d76a5401092d5605abe8d1d602e563cc645 (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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-ftp/netkit-tftp/netkit-tftp-0.17-r3.ebuild,v 1.1 2007/02/21 19:44:02 anant Exp $

inherit eutils

DESCRIPTION="the tftp server included in netkit"
SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-tftp-0.17.tar.gz"
HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"

KEYWORDS="x86 sparc ppc mips amd64 ppc64"
IUSE=""
LICENSE="BSD"
SLOT="0"

DEPEND="!virtual/tftp"
PROVIDE="virtual/tftp"

src_compile() {
	# Change default man directory	
	epatch ${FILESDIR}/man.patch
	# Solve QA warning by including string.h
	epatch ${FILESDIR}/memset.patch

	./configure --prefix=/usr --installroot=${D} || die
	emake || die
}

src_install() {
	dodir /usr/bin /usr/sbin
	doman tftp/tftp.1 tftpd/tftpd.8
	make install || die
}