/[gentoo-x86]/net-misc/netkit-routed/netkit-routed-0.17-r4.ebuild
Gentoo

Contents of /net-misc/netkit-routed/netkit-routed-0.17-r4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon May 25 09:56:10 2015 UTC (4 years, 6 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +7 -6 lines
Fix by Andrew Miller to use printf instead of echo -n #529992 by Diego Elio Pettenò.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-routed/netkit-routed-0.17-r4.ebuild,v 1.6 2012/07/12 15:55:28 axs Exp $
4
5 EAPI="5"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Netkit - routed"
10 HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
11 SRC_URI="mirror://debian/pool/main/n/netkit-routed/${PN}_${PV}.orig.tar.gz"
12
13 LICENSE="BSD GPL-2"
14 SLOT="0"
15 KEYWORDS="alpha ~amd64 ~mips ppc sparc x86"
16 IUSE=""
17
18 src_prepare() {
19 sed -i configure -e '/^LDFLAGS=/d' || die
20 epatch "${FILESDIR}"/${P}-time.patch
21 epatch "${FILESDIR}"/${P}-printf.patch #529992
22 }
23
24 src_configure() {
25 # Not an autotools generated configure script
26 ./configure --with-c-compiler=$(tc-getCC) || die
27 }
28
29 src_install() {
30 # ripquery
31 dosbin ripquery/ripquery
32 doman ripquery/ripquery.8
33
34 # routed
35 dosbin routed/routed
36 dosym routed /usr/sbin/in.routed
37 doman routed/routed.8
38 dosym routed.8 /usr/share/man/man8/in.routed.8
39
40 # docs
41 dodoc README ChangeLog
42 newdoc routed/README README.routed
43
44 # init scripts
45 newconfd "${FILESDIR}"/routed.confd routed
46 newinitd "${FILESDIR}"/routed.initd routed
47 }

  ViewVC Help
Powered by ViewVC 1.1.20