2010-01-24 12:07:01 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class BwmNg < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Console-based live network and disk I/O bandwidth monitor"
|
2010-01-24 12:07:01 +00:00
|
|
|
homepage 'http://www.gropp.org/?id=projects&sub=bwm-ng'
|
2013-01-27 02:02:11 +00:00
|
|
|
url 'http://www.gropp.org/bwm-ng/bwm-ng-0.6.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '90bab1837f179fa1fe0d4b8bad04072affa39c01'
|
2010-01-24 12:07:01 +00:00
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
def install
|
2013-10-27 23:26:31 +00:00
|
|
|
ENV.append 'CFLAGS', '-std=gnu89'
|
2013-01-27 02:02:11 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2010-01-24 12:07:01 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|