| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ifstat/ifstat-1.1-r1.ebuild,v 1.1 2012/07/10 16:26:03 jer Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit eutils
|
| 7 |
|
| 8 |
IUSE="snmp"
|
| 9 |
|
| 10 |
DESCRIPTION="Network interface bandwidth usage, with support for snmp targets."
|
| 11 |
SRC_URI="http://gael.roualland.free.fr/ifstat/${P}.tar.gz"
|
| 12 |
HOMEPAGE="http://gael.roualland.free.fr/ifstat/"
|
| 13 |
|
| 14 |
SLOT="0"
|
| 15 |
LICENSE="GPL-2"
|
| 16 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
| 17 |
|
| 18 |
DEPEND="snmp? ( >=net-analyzer/net-snmp-5.0 )"
|
| 19 |
RDEPEND="${DEPEND}"
|
| 20 |
|
| 21 |
DOCS=( HISTORY README TODO )
|
| 22 |
|
| 23 |
src_prepare() {
|
| 24 |
epatch "${FILESDIR}"/${P}-make.patch
|
| 25 |
}
|
| 26 |
|
| 27 |
src_configure() {
|
| 28 |
econf $(use_enable snmp)
|
| 29 |
}
|