blob: 739788bd13395490daf837f28c9389fdb336cc83 (
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
34
35
36
37
38
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/iptraf-ng-1.0.2.ebuild,v 1.16 2010/11/30 23:57:36 xmw Exp $
EAPI=2
inherit autotools
DESCRIPTION="console-based network monitoring utility, fork of iptraf 3.0.0"
HOMEPAGE="https://fedorahosted.org/iptraf-ng/"
SRC_URI="https://fedorahosted.org/releases/i/p/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ~ppc64 ~sh sparc x86"
IUSE="static-libs"
DEPEND="
sys-libs/ncurses
"
RDEPEND="
!net-analyzer/iptraf
${DEPEND}
"
src_prepare() {
sed -i src/Makefile.am -e 's|$(CFLAGS)||g'
eautoreconf
}
src_configure() {
econf $(use_enable static-libs static)
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
keepdir /var/{lib,run,log}/iptraf
}
|