diff options
author | 2010-08-26 21:09:14 +0000 | |
---|---|---|
committer | 2010-08-26 21:09:14 +0000 | |
commit | c937c05b3efab6a4e903e0af2dcf075c0e09716a (patch) | |
tree | a24e44b80a9e79ca69324a40b4e47e7818788a53 /net-misc/netkit-routed/netkit-routed-0.17-r4.ebuild | |
parent | Respects LDFLAGS now, see bug #334645. (diff) | |
download | historical-c937c05b3efab6a4e903e0af2dcf075c0e09716a.tar.gz historical-c937c05b3efab6a4e903e0af2dcf075c0e09716a.tar.bz2 historical-c937c05b3efab6a4e903e0af2dcf075c0e09716a.zip |
Respect CC. Fix missing include. Respect LDFLAGS (bug #334563).
Package-Manager: portage-2.2_rc69/cvs/Linux i686
Diffstat (limited to 'net-misc/netkit-routed/netkit-routed-0.17-r4.ebuild')
-rw-r--r-- | net-misc/netkit-routed/netkit-routed-0.17-r4.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/net-misc/netkit-routed/netkit-routed-0.17-r4.ebuild b/net-misc/netkit-routed/netkit-routed-0.17-r4.ebuild new file mode 100644 index 000000000000..3aa871f99174 --- /dev/null +++ b/net-misc/netkit-routed/netkit-routed-0.17-r4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-routed/netkit-routed-0.17-r4.ebuild,v 1.1 2010/08/26 21:09:14 jer Exp $ + +EAPI="2" + +inherit eutils toolchain-funcs + +DESCRIPTION="Netkit - routed" +HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/" +SRC_URI="mirror://debian/pool/main/n/netkit-routed/${PN}_${PV}.orig.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86" +IUSE="" + +src_prepare() { + sed -i configure -e '/^LDFLAGS=/d' || die sed configure + epatch "${FILESDIR}"/${P}-time.patch +} + +src_configure() { + # Not an autotools generated configure script + ./configure --with-c-compiler=$(tc-getCC) || die +} + +src_install() { + # ripquery + dosbin ripquery/ripquery || die + doman ripquery/ripquery.8 + + # routed + dosbin routed/routed || die + dosym routed /usr/sbin/in.routed + doman routed/routed.8 + dosym routed.8 /usr/share/man/man8/in.routed.8 + + # docs + dodoc README ChangeLog + newdoc routed/README README.routed + + # init scripts + newconfd "${FILESDIR}"/routed.confd routed + newinitd "${FILESDIR}"/routed.initd routed +} |