/[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.4 - (hide annotations) (download)
Wed Jun 13 22:15:41 2012 UTC (7 years, 8 months ago) by xmw
Branch: MAIN
Changes since 1.3: +2 -2 lines
ppc stable (bug 420971)

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 ago 1.2 # Copyright 1999-2012 Gentoo Foundation
2 xmw 1.1 # Distributed under the terms of the GNU General Public License v2
3 xmw 1.4 # $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-bootparamd/netkit-bootparamd-0.17-r3.ebuild,v 1.3 2012/06/13 19:01:18 jdhore Exp $
4 xmw 1.1
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 xmw 1.4 KEYWORDS="amd64 ~hppa ~mips ppc ~sparc x86"
16 xmw 1.1 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