summaryrefslogtreecommitdiff
blob: cb70f0e56efd4a90b449dc9e3ea1e87d53ed7ae6 (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit toolchain-funcs

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="amd64 ~hppa ~mips ppc ~sparc x86"
IUSE=""

S=${WORKDIR}/${MY_P}

PATCHES=( "${FILESDIR}"/${P}.patch )

src_configure() {
	tc-export CC
}

src_compile() {
	emake linux
}

src_install() {
	dosbin bootp{d,ef,gw,test}

	local x
	for x in d ef gw test; do
		dosym bootp${x} /usr/sbin/in.bootp${x}
	done

	doman *.5 *.8
	dodoc Announce Changes Problems README{,-linux} ToDo
}