diff options
| author | Jannis Leidel | 2009-10-17 15:25:42 +0200 |
|---|---|---|
| committer | Max Howell | 2009-10-19 04:02:49 +0100 |
| commit | bf69c89577bb89866342b98b418fa0164069ab63 (patch) | |
| tree | 6e6da93072201633434aa284c7ef5dfe9486fa3c | |
| parent | 1c5b57dd6d81cfbf3d095a60b0537f5b4aa22d78 (diff) | |
| download | homebrew-bf69c89577bb89866342b98b418fa0164069ab63.tar.bz2 | |
bmon formula
bmon is a portable bandwidth monitor and rate estimator. It supports
various input methods for different architectures. Various output
modes exist, including an interactive curses interface, lightweight
HTML output, and simple ASCII output. Statistics may be distributed
over a network using multicast or unicast and collected at some
point to generate a summary of statistics for a set of nodes.
| -rw-r--r-- | Library/Formula/bmon.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/bmon.rb b/Library/Formula/bmon.rb new file mode 100644 index 000000000..e9551f3a2 --- /dev/null +++ b/Library/Formula/bmon.rb @@ -0,0 +1,16 @@ +require 'formula' + +class Bmon <Formula + url 'http://ftp.debian.org/debian/pool/main/b/bmon/bmon_2.0.1.orig.tar.gz' + homepage 'http://freshmeat.net/projects/bmon/' # actually: http://people.suug.ch/~tgr/bmon + md5 'd0da9d05f18c82a621171985d536dec7' + version '2.0.1' + + depends_on 'ncursesw' + + def install + system "./configure", "--prefix=#{prefix}", "--mandir=#{prefix}/share/man", "--disable-debug", "--disable-dependency-tracking" + system "make" # two steps to prevent blowing up + system "make install" + end +end |
