summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-12-13 19:02:18 +0000
committerJeroen Roovers <jer@gentoo.org>2011-12-13 19:02:18 +0000
commit57c1e73220fc8bb843fcc900746da2b9fb90a920 (patch)
tree87d6a784f9eebbe86aee4fde3d68ba853f6f2096 /net-analyzer/nstats/nstats-0.4-r2.ebuild
parentStable and dev channel bumps. (diff)
downloadgentoo-2-57c1e73220fc8bb843fcc900746da2b9fb90a920.tar.gz
gentoo-2-57c1e73220fc8bb843fcc900746da2b9fb90a920.tar.bz2
gentoo-2-57c1e73220fc8bb843fcc900746da2b9fb90a920.zip
Fix file collisions of nmon and cmon (bug #364685). Fix quoting issues. Do not install COPYING.
(Portage version: 2.2.0_alpha80/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nstats/nstats-0.4-r2.ebuild')
-rw-r--r--net-analyzer/nstats/nstats-0.4-r2.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/net-analyzer/nstats/nstats-0.4-r2.ebuild b/net-analyzer/nstats/nstats-0.4-r2.ebuild
new file mode 100644
index 000000000000..68ac1ccc3dd4
--- /dev/null
+++ b/net-analyzer/nstats/nstats-0.4-r2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nstats/nstats-0.4-r2.ebuild,v 1.1 2011/12/13 19:02:17 jer Exp $
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="Displays statistics about ethernet traffic including protocol breakdown"
+SRC_URI="http://trash.net/~reeler/nstats/files/${P}.tar.gz"
+HOMEPAGE="http://trash.net/~reeler/nstats/"
+
+SLOT="0"
+LICENSE="Artistic"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="net-libs/libpcap"
+RDEPEND="${DEPEND}"
+
+DOCS=( BUGS doc/TODO doc/ChangeLog )
+
+src_prepare(){
+ epatch "${FILESDIR}"/${P}-makefile.patch
+
+ if has_version '>=sys-libs/glibc-2.4' ; then
+ epatch "${FILESDIR}"/${P}-glibc24.patch
+ fi
+}