diff options
author | Ned Ludd <solar@gentoo.org> | 2003-06-01 01:12:29 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2003-06-01 01:12:29 +0000 |
commit | 5de66c1fc2841f3c8b17bbe1ad8f69611349fb34 (patch) | |
tree | e679e76c5951e603dd8d3579ad2f76b3a852ceb4 /net-misc/zebra/zebra-0.93b-r1.ebuild | |
parent | added snmp,binutils to depends and dodir was not working as expected (diff) | |
download | gentoo-2-5de66c1fc2841f3c8b17bbe1ad8f69611349fb34.tar.gz gentoo-2-5de66c1fc2841f3c8b17bbe1ad8f69611349fb34.tar.bz2 gentoo-2-5de66c1fc2841f3c8b17bbe1ad8f69611349fb34.zip |
added snmp,binutils to depends and dodir was not working as expected
Diffstat (limited to 'net-misc/zebra/zebra-0.93b-r1.ebuild')
-rw-r--r-- | net-misc/zebra/zebra-0.93b-r1.ebuild | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/net-misc/zebra/zebra-0.93b-r1.ebuild b/net-misc/zebra/zebra-0.93b-r1.ebuild index 4dc4b3114bcd..7d5ded6725d6 100644 --- a/net-misc/zebra/zebra-0.93b-r1.ebuild +++ b/net-misc/zebra/zebra-0.93b-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zebra/zebra-0.93b-r1.ebuild,v 1.1 2003/05/31 19:31:50 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/zebra/zebra-0.93b-r1.ebuild,v 1.2 2003/06/01 01:12:14 solar Exp $ S=${WORKDIR}/${P} IUSE="pam snmp ipv6 ospfapi" @@ -10,14 +10,18 @@ SRC_URI="ftp://ftp.zebra.org/pub/zebra/${P}.tar.gz \ ospfapi? ( http://www.tik.ee.ethz.ch/~keller/ospfapi/src/ospfapi-release_0_93b-2003-01-25.tar.gz )" HOMEPAGE="http://www.zebra.org" +# Homepage for ospfapi HOMEPAGE="${HOMEPAGE} http://www.tik.ee.ethz.ch/~keller/ospfapi" - KEYWORDS="~x86 ~sparc" LICENSE="GPL-2" SLOT="0" DEPEND="virtual/glibc - pam? ( >=pam-0.75-r11 )" + sys-devel/binutils + pam? ( >=pam-0.75-r11 ) + snmp? ( virtual/snmp )" + +RDEPEND="virtual/glibc sys-devel/binutils" src_unpack() { unpack ${A} || die @@ -40,9 +44,10 @@ src_unpack() { src_compile() { local myconf="--enable-vtysh --enable-tcp-zebra" - use pam || myconf="${myconf} --disable-pam" - use snmp || myconf="${myconf} --disable-snmp" - use ipv6 || myconf="${myconf} --disable-ipv6" + # use libpam for PAM support in vtysh + use pam && myconf="${myconf} --with-libpam" || myconf="${myconf} --disable-pam" + use snmp && myconf="${myconf} --enable-snmp" || myconf="${myconf} --disable-snmp" + use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --disable-ipv6" use ospfapi && myconf="${myconf} --enable-opaque-lsa --enable-ospf-te \ --enable-nssa" @@ -70,7 +75,8 @@ src_install() { mandir=${D}/usr/share/man \ install || die "zebra installation failed" - dodir ${D}/etc/ {D}/etc/zebra/ ${D}/etc/zebra/sample + mkdir -p ${D}/etc/zebra/sample + # dodir ${D}/etc/ {D}/etc/zebra/ ${D}/etc/zebra/sample cp */*.conf.sample* ${D}/etc/zebra/ mv ${D}/etc/zebra/*.conf.sample* ${D}/etc/zebra/sample |