| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/net-analyzer/bmon/bmon-2.1.0-r3.ebuild,v 1.1 2007/09/05 20:20:50 jokey Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/net-analyzer/bmon/bmon-2.1.0-r3.ebuild,v 1.2 2007/09/07 06:47:09 mr_bones_ Exp $ |
| 4 | |
4 | |
| 5 | inherit eutils toolchain-funcs |
5 | inherit eutils toolchain-funcs |
| 6 | |
6 | |
| 7 | DESCRIPTION="interface bandwidth monitor" |
7 | DESCRIPTION="interface bandwidth monitor" |
| 8 | HOMEPAGE="http://people.suug.ch/~tgr/bmon/" |
8 | HOMEPAGE="http://people.suug.ch/~tgr/bmon/" |
| … | |
… | |
| 25 | epatch "${FILESDIR}"/${P}-gcc4.diff |
25 | epatch "${FILESDIR}"/${P}-gcc4.diff |
| 26 | # Don't strip, bug #144370 |
26 | # Don't strip, bug #144370 |
| 27 | epatch "${FILESDIR}"/${P}-nostrip.patch |
27 | epatch "${FILESDIR}"/${P}-nostrip.patch |
| 28 | # libnl crap, bug 176378 |
28 | # libnl crap, bug 176378 |
| 29 | epatch "${FILESDIR}"/${P}-libnl-1.0.patch |
29 | epatch "${FILESDIR}"/${P}-libnl-1.0.patch |
| 30 | |
30 | |
| 31 | } |
31 | } |
| 32 | |
32 | |
| 33 | src_compile() { |
33 | src_compile() { |
| 34 | econf \ |
34 | econf \ |
| 35 | $(use_enable dbi) \ |
35 | $(use_enable dbi) \ |