diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-10-10 10:04:25 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-10-10 10:04:25 +0000 |
commit | 1de89e3129bc284ad99a7b4fa7892432ef07ceb2 (patch) | |
tree | 599e7c8a4d7f04107ddbd987e816038f04edce9a /net-analyzer/nethogs/nethogs-0.8.0.ebuild | |
parent | Add pkgconfig dependency (bug #386603 by Nikoli). (diff) | |
download | gentoo-2-1de89e3129bc284ad99a7b4fa7892432ef07ceb2.tar.gz gentoo-2-1de89e3129bc284ad99a7b4fa7892432ef07ceb2.tar.bz2 gentoo-2-1de89e3129bc284ad99a7b4fa7892432ef07ceb2.zip |
Version bump.
(Portage version: 2.2.0_alpha64/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nethogs/nethogs-0.8.0.ebuild')
-rw-r--r-- | net-analyzer/nethogs/nethogs-0.8.0.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net-analyzer/nethogs/nethogs-0.8.0.ebuild b/net-analyzer/nethogs/nethogs-0.8.0.ebuild new file mode 100644 index 000000000000..5ebb9d8c5aa0 --- /dev/null +++ b/net-analyzer/nethogs/nethogs-0.8.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nethogs/nethogs-0.8.0.ebuild,v 1.1 2011/10/10 10:04:25 jer Exp $ + +EAPI="4" + +inherit eutils toolchain-funcs + +DESCRIPTION="A small 'net top' tool, grouping bandwidth by process" +HOMEPAGE="http://nethogs.sf.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~x86" +IUSE="" + +RDEPEND="net-libs/libpcap + sys-libs/ncurses" +DEPEND="${RDEPEND} + sys-apps/sed" + +S=${WORKDIR}/${PN} + +src_prepare() { + sed -i Makefile \ + -e '/^CFLAGS=/{s|=|+=|;s|-g||};/ -o /s|$(CFLAGS)|& $(LDFLAGS)|g' \ + || die + tc-export CC CXX +} + +src_install() { + default + dodoc Changelog DESIGN README +} |