summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@gentoo.org>2002-06-15 07:32:46 +0000
committerBrandon Low <lostlogic@gentoo.org>2002-06-15 07:32:46 +0000
commit4bce3a88ef8c8239fef392ca25bf9b0365071585 (patch)
tree367f82078a7a9f33f0a8bc82c08fcec667881806 /net-analyzer/bwmon
parentFixed broken gphoto code so this actually compiles. (diff)
downloadgentoo-2-4bce3a88ef8c8239fef392ca25bf9b0365071585.tar.gz
gentoo-2-4bce3a88ef8c8239fef392ca25bf9b0365071585.tar.bz2
gentoo-2-4bce3a88ef8c8239fef392ca25bf9b0365071585.zip
bwmon tiny ncurses bandwith monitor initial package
Diffstat (limited to 'net-analyzer/bwmon')
-rw-r--r--net-analyzer/bwmon/ChangeLog10
-rw-r--r--net-analyzer/bwmon/bwmon-1.3.ebuild41
-rw-r--r--net-analyzer/bwmon/files/digest-bwmon-1.31
3 files changed, 52 insertions, 0 deletions
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 <lostlogic@gentoo.org> 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