/[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.1 - (hide annotations) (download)
Wed Sep 15 03:24:15 2010 UTC (9 years, 5 months ago) by xmw
Branch: MAIN
Revision bump to respect CC/LDFLAGS, add init.d/conf.d script, added ~amd64 keyword
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 xmw 1.1 # Copyright 1999-2010 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-r2.ebuild,v 1.5 2007/12/14 17:25:09 armin76 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