blob: a00dd0379991f940d42698dd476d1925ff3f9b75 (
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-2010 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.8 2010/01/23 10:01:11 cla 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}
cd "${S}"
epatch "${FILESDIR}"/${P}-misc.patch
sed -r -e /^CFLAGS=/s:=:+=:g -i Makefile
}
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 *.8 *.5
dodoc README README-linux
# newdoc rpc.bootparamd/README README.bootparamd
}
|