summaryrefslogtreecommitdiff
blob: 2e88056ce5466c478ccd2fd9d875da0a15c5e4f2 (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-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-bootpd/netkit-bootpd-2.4.ebuild,v 1.6 2007/11/01 21:55:54 jokey Exp $

inherit eutils

MY_P=${P/netkit-/}
DESCRIPTION="Netkit - bootp"
HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netboot/"
SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netboot/${MY_P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~hppa ~mips ppc ~sparc x86"
IUSE=""

DEPEND=""
RDEPEND=""

S="${WORKDIR}/${MY_P}"

src_unpack() {
	unpack ${A}
	epatch "${FILESDIR}"/${P}-misc.patch
}

src_compile() {
	emake linux || die "Error compilando"
}

src_install() {
	into /usr
	dosbin bootpd bootpef bootpgw bootptest
	dosym dosbin /usr/sbin/in.dosbin
	dosym bootpd /usr/sbin/in.bootpd
	dosym bootpef /usr/sbin/in.bootpef
	dosym bootpgw /usr/sbin/in.bootpgw
	dosym bootptest /usr/sbin/in.bootptest
	doman bootpd.8
	doman bootpef.8
	doman bootptest.8
	dodoc README README-linux
#	newdoc rpc.bootparamd/README README.bootparamd
}