/[gentoo-x86]/net-misc/bird/bird-1.2.2.ebuild
Gentoo

Contents of /net-misc/bird/bird-1.2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Apr 12 11:58:59 2010 UTC (9 years, 6 months ago) by chainsaw
Branch: MAIN
New upstream release. Note that the V6 version is not functional, I have contacted upstream and will provide an updated ebuild when possible.
(Portage version: 2.1.8.3/cvs/Linux x86_64)

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/bird/bird-1.1.7.ebuild,v 1.1 2009/12/20 15:49:33 chainsaw Exp $
4
5 inherit eutils autotools
6
7 DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 or IPv6"
8 HOMEPAGE="http://bird.network.cz"
9 SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz"
10 LICENSE="GPL-2"
11
12 SLOT="0"
13 KEYWORDS="~amd64"
14 IUSE="debug"
15
16 RDEPEND="sys-libs/ncurses
17 sys-libs/readline
18 ${DEPEND}"
19 DEPEND="sys-devel/flex
20 sys-devel/bison
21 sys-devel/m4"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 epatch "${FILESDIR}/${PV}-v4-v6-build.patch"
27 eautoreconf
28 }
29
30 src_compile() {
31 econf \
32 --enable-client \
33 --disable-ipv6 \
34 $(use_enable debug) \
35 || die "V4 configuration stage failed"
36 emake || die "V4 compilation stage failed"
37 }
38
39 src_install() {
40 emake DESTDIR="${D}" install-bin || die "V4 installation stage failed"
41 newinitd "${FILESDIR}/initd-v4-${P}" bird || die "V4 init script installation failed"
42 }

  ViewVC Help
Powered by ViewVC 1.1.20