/[gentoo-x86]/net-analyzer/ifstat/ifstat-1.1-r1.ebuild
Gentoo

Contents of /net-analyzer/ifstat/ifstat-1.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jul 11 01:50:49 2012 UTC (10 months, 1 week ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Make USE=snmp fatal when net-snmp is not installed, and make an unreadable /proc/net/dev non-fatal in any case (bug #425608).

(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)

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 }

  ViewVC Help
Powered by ViewVC 1.1.13