From 4bce3a88ef8c8239fef392ca25bf9b0365071585 Mon Sep 17 00:00:00 2001 From: Brandon Low Date: Sat, 15 Jun 2002 07:32:46 +0000 Subject: bwmon tiny ncurses bandwith monitor initial package --- net-analyzer/bwmon/ChangeLog | 10 ++++++++ net-analyzer/bwmon/bwmon-1.3.ebuild | 41 +++++++++++++++++++++++++++++++ net-analyzer/bwmon/files/digest-bwmon-1.3 | 1 + 3 files changed, 52 insertions(+) create mode 100644 net-analyzer/bwmon/ChangeLog create mode 100644 net-analyzer/bwmon/bwmon-1.3.ebuild create mode 100644 net-analyzer/bwmon/files/digest-bwmon-1.3 (limited to 'net-analyzer/bwmon') diff --git a/net-analyzer/bwmon/ChangeLog b/net-analyzer/bwmon/ChangeLog new file mode 100644 index 000000000000..31d2311079c4 --- /dev/null +++ b/net-analyzer/bwmon/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-analyzer/bwmon +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/ChangeLog,v 1.1 2002/06/15 07:32:46 lostlogic Exp $ + +*bwmon-1.3 (15 Jun 2002) + + 15 Jun 2002; Brandon Low bwmon-1.3.ebuild: + + Initial package. This is a tiny little bandwidth monitor program, + uses an ncurses interface and I find it very convenient. diff --git a/net-analyzer/bwmon/bwmon-1.3.ebuild b/net-analyzer/bwmon/bwmon-1.3.ebuild new file mode 100644 index 000000000000..8b8383c2ba74 --- /dev/null +++ b/net-analyzer/bwmon/bwmon-1.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/bwmon-1.3.ebuild,v 1.1 2002/06/15 07:32:46 lostlogic Exp $ + +DESCRIPTION="Simple ncurses bandwidth monitor" +HOMEPAGE="http://bwmon.sourceforge.net/" +LICENSE="GPL" +DEPEND="sys-libs/ncurses" +RDEPEND="${DEPEND}" +SLOT="0" + +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +S=${WORKDIR}/${P} + +src_unpack() { + + unpack ${A} + cd ${S} + sed -e "s:/usr/local/bin:\$\{DESTDIR\}usr/bin:" \ + Makefile > Makefile.hacked + mv Makefile.hacked Makefile + sed -e "s:CFLAGS =:CFLAGS = ${CFLAGS}:" \ + -e "s:LDFLAGS =:LDFLAGS = -L/lib:" \ + src/Makefile > src/Makefile.hacked + mv src/Makefile.hacked src/Makefile + +} + + +src_compile() { + + emake || die + +} + +src_install () { + + dodir /usr/bin + make DESTDIR=${D} install || die + dodoc README +} diff --git a/net-analyzer/bwmon/files/digest-bwmon-1.3 b/net-analyzer/bwmon/files/digest-bwmon-1.3 new file mode 100644 index 000000000000..04978902a037 --- /dev/null +++ b/net-analyzer/bwmon/files/digest-bwmon-1.3 @@ -0,0 +1 @@ +MD5 53c44b73aa67d5e0282adfe928f3ba44 bwmon-1.3.tar.gz 5668 -- cgit v1.2.3-65-gdbad