homebrew-core/Formula/bmon.rb
Jannis Leidel dd1e90d310 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.
2009-10-19 04:02:49 +01:00

16 lines
527 B
Ruby

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