blob: 749977c29aa91f3fe8ac4f6d85d2821e77c3f9c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iftop/iftop-0.17.ebuild,v 1.5 2007/01/11 17:06:43 gustavoz Exp $
inherit eutils
DESCRIPTION="display bandwidth usage on an interface"
SRC_URI="http://www.ex-parrot.com/~pdw/iftop/download/${P}.tar.gz"
HOMEPAGE="http://www.ex-parrot.com/~pdw/iftop/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha ~amd64 hppa ia64 ~ppc sparc ~x86"
IUSE=""
DEPEND="sys-libs/ncurses
net-libs/libpcap"
src_unpack() {
unpack ${A}; cd "${S}"
# bug 101926
epatch "${FILESDIR}"/${PN}-0.16-bar_in_bytes.patch
}
src_install() {
dosbin iftop
doman iftop.8
insinto /etc
doins "${FILESDIR}"/iftoprc
dodoc ChangeLog README
}
|