/[gentoo-x86]/net-misc/netkit-bootparamd/netkit-bootparamd-0.17-r3.ebuild
Gentoo

Contents of /net-misc/netkit-bootparamd/netkit-bootparamd-0.17-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jun 13 16:34:35 2012 UTC (7 years, 8 months ago) by ago
Branch: MAIN
Changes since 1.1: +3 -3 lines
Stable for amd64, wrt bug #420971

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-bootparamd/netkit-bootparamd-0.17-r3.ebuild,v 1.1 2010/09/15 03:24:15 xmw Exp $
4
5 EAPI=2
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Netkit - bootparamd"
10 HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
11 SRC_URI="mirror://debian/pool/main/n/${PN}/${PN}_${PV}.orig.tar.gz"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="amd64 ~hppa ~mips ~ppc ~sparc ~x86"
16 IUSE=""
17
18 DEPEND="!<=net-misc/netkit-bootpd-0.17-r2"
19 RDEPEND=${DEPEND}
20
21 src_prepare() {
22 epatch "${FILESDIR}"/0.17-jumpstart.patch
23
24 # don't reset LDFLAGS (bug #335457), manpages into /usr/share/man
25 sed -i -e '/^LDFLAGS=/d ; /MANDIR=/s:man:share/man:' configure || die
26
27 sed -i -e 's:install -s:install:' rpc.bootparamd/Makefile || die
28 }
29
30 src_configure() {
31 # Note this is not an autoconf configure
32 CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" ./configure || die
33 }
34
35 src_install() {
36 dodir usr/bin usr/sbin usr/share/man/man8 || die
37 emake INSTALLROOT="${D}" install || die
38
39 newconfd "${FILESDIR}"/bootparamd.confd bootparamd || die
40 newinitd "${FILESDIR}"/bootparamd.initd bootparamd || die
41
42 doman rpc.bootparamd/bootparams.5 || die
43 dodoc README ChangeLog || die
44 newdoc rpc.bootparamd/README README.bootparamd || die
45 }

  ViewVC Help
Powered by ViewVC 1.1.20