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

Contents of /net-misc/bridge-utils/bridge-utils-1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Tue Sep 30 06:48:15 2008 UTC (6 years, 7 months ago) by robbat2
Branch: MAIN
Changes since 1.11: +2 -2 lines
Bug #238782, spelling fix.
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64)

1 # Copyright 1999-2008 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.2.ebuild,v 1.11 2008/06/05 17:48:08 robbat2 Exp $
4
5 # I think you want CONFIG_BRIDGE in your kernel to use this ;)
6
7 inherit eutils autotools
8
9 DESCRIPTION="Tools for configuring the Linux kernel 802.1d Ethernet Bridge"
10 HOMEPAGE="http://bridge.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/bridge/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 hppa ia64 ppc x86"
16 IUSE=""
17
18 DEPEND="virtual/os-headers
19 >=sys-devel/autoconf-2.59"
20 RDEPEND=""
21
22 src_unpack() {
23 unpack ${A}
24 cd "${S}"
25 WANT_AUTOMAKE=1.9 eautomake || die "Failed to run autoconf"
26 WANT_AUTOCONF=2.5 eautoconf || die "Failed to run autoconf"
27 }
28
29 src_compile() {
30 # use santitized headers and not headers from /usr/src
31 econf \
32 --prefix=/ \
33 --libdir=/usr/$(get_libdir) \
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}" || die "make install failed"
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 separate init script."
49 ewarn "Please utilize the new bridge support in baselayout."
50 }

  ViewVC Help
Powered by ViewVC 1.1.20