/[gentoo-x86]/net-misc/zebra/zebra-0.93b.ebuild
Gentoo

Contents of /net-misc/zebra/zebra-0.93b.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Wed Mar 30 17:33:07 2005 UTC (9 years, 5 months ago) by amir
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
removed zebra ebuild folder. zebra gets replaced by quagga. move has already been added to profiles/updates/1Q-2005.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/zebra/zebra-0.93b.ebuild,v 1.10 2004/11/30 22:28:17 swegener Exp $
4
5 IUSE="pam snmp ipv6"
6
7 DESCRIPTION="Multithreaded TCP/IP Routing Software that supports BGP-4, RIPv1, RIPv2 and OSPFv2"
8 SRC_URI="ftp://ftp.zebra.org/pub/zebra/${P}.tar.gz"
9 HOMEPAGE="http://www.zebra.org"
10 KEYWORDS="x86"
11 LICENSE="GPL-2"
12 SLOT="0"
13
14 DEPEND="virtual/libc
15 pam? ( >=sys-libs/pam-0.75-r11 )"
16
17 src_compile() {
18 local myconf=""
19 use pam || myconf="$myconf --disable-pam"
20 use snmp || myconf="$myconf --disable-snmp"
21 use ipv6 || myconf="$myconf --disable-ipv6"
22
23 ./configure \
24 --host=${CHOST} \
25 --prefix=/usr \
26 --sysconfdir=/etc/zebra \
27 --localstatedir=/var \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 ${myconf} || die "./configure failed"
31
32 emake || die "Parallel Make Failed"
33 }
34
35 src_install() {
36 make \
37 prefix=${D}/usr \
38 sysconfdir=${D}/etc/zebra \
39 localstatedir=${D}/var \
40 infodir=${D}/usr/share/info \
41 mandir=${D}/usr/share/man \
42 install || die "Installation Failed"
43
44 cp */*.conf.sample ${D}/etc/zebra
45
46 exeinto /etc/init.d ; newexe ${FILESDIR}/zebra.initd zebra
47 insinto /etc/conf.d ; newins ${FILESDIR}/zebra.confd zebra
48
49 dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README REPORTING-BUGS SERVICES TODO
50 }

  ViewVC Help
Powered by ViewVC 1.1.20