/[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.2 - (hide annotations) (download)
Mon Aug 23 11:29:16 2010 UTC (9 years, 1 month ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Clean up old ebuilds. Actually install a V6 init script and use the correct name.
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 chainsaw 1.1 # Copyright 1999-2010 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 chainsaw 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/bird/bird-1.2.2.ebuild,v 1.1 2010/04/12 11:58:59 chainsaw Exp $
4 chainsaw 1.1
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