homebrew-core/Formula/bonnie++.rb
mithrandi@mithrandi.net 7358904db6 New Formula: bonnie++.
Bonnie++ is a benchmark suite that is aimed at performing a number of
simple tests of hard drive and file system performance. Then you can
decide which test is important and decide how to compare different
systems after running it.

Bonnie++ was based on the code for Bonnie by Tim Bray. A summary of the
differences between Bonnie 1.0 and Bonnie++ 1.0 can be found at:

    http://www.coker.com.au/bonnie++/diff.html

Closes Homebrew/homebrew#8050.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-10-11 09:51:53 -07:00

17 lines
455 B
Ruby

require 'formula'
class Bonniexx < Formula
url 'http://www.coker.com.au/bonnie++/experimental/bonnie++-1.96.tgz'
homepage 'http://www.coker.com.au/bonnie++/'
md5 '7b8594559f00887d2865de1838328b35'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
end
def test
system "test -e #{sbin}/bonnie++"
end
end