/[gentoo-x86]/net-misc/bridge-utils/bridge-utils-1.0.6-r2.ebuild
Gentoo

Contents of /net-misc/bridge-utils/bridge-utils-1.0.6-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Apr 21 23:02:03 2007 UTC (12 years, 7 months ago) by robbat2
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old ebuilds per bug #174266.
(Portage version: 2.1.2.4)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/bridge-utils/bridge-utils-1.0.6-r2.ebuild,v 1.2 2005/07/12 13:39:19 blubb Exp $
4
5 # I think you want CONFIG_BRIDGE in your kernel to use this ;)
6
7 inherit eutils
8
9 DESCRIPTION="Tools for configuring the Linux kernel 802.1d Ethernet Bridge"
10 HOMEPAGE="http://bridge.sourceforge.net/"
11
12 SRC_URI="mirror://sourceforge/bridge/${P}.tar.gz"
13
14 IUSE=""
15 RDEPEND="virtual/libc
16 >=sys-fs/sysfsutils-1.0
17 >=sys-apps/baselayout-1.11.6"
18 DEPEND="${RDEPEND} virtual/os-headers"
19
20 LICENSE="GPL-2"
21 SLOT="0"
22 KEYWORDS="amd64 ~ppc x86"
23
24 src_unpack() {
25 unpack ${A}
26 EPATCH_OPTS="-p0 -d ${S}" epatch ${FILESDIR}/${P}-dont-error-on-no-ports.patch
27 }
28
29 src_compile() {
30 # use santitized headers and not headers from /usr/src
31 econf \
32 --prefix=/ \
33 --libdir=/usr/lib \
34 --includedir=/usr/include \
35 --with-linux-headers=/usr/include \
36 || die "econf failed"
37 emake || die "make failed"
38 }
39
40 src_install () {
41 emake install DESTDIR="${D}"
42 #einstall prefix=${D} libdir=${D}/usr/lib includedir=${D}/usr/include
43 dodoc AUTHORS ChangeLog README THANKS TODO
44 dodoc doc/{FAQ,FIREWALL,HOWTO,PROJECTS,RPM-GPG-KEY,SMPNOTES,WISHLIST}
45 }
46
47 pkg_postinst () {
48 ewarn "This package no longer provides a seperate init script."
49 ewarn "Please utilize the new bridge support in baselayout."
50 }

  ViewVC Help
Powered by ViewVC 1.1.20