From 66e3aba5d37cdb759c7fcaf3fbef7e44b98c04ea Mon Sep 17 00:00:00 2001 From: mithrandi@mithrandi.net Date: Mon, 10 Oct 2011 15:21:22 +0200 Subject: 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 #8050. Signed-off-by: Charlie Sharpsteen --- Library/Formula/bonnie++.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Library/Formula/bonnie++.rb (limited to 'Library') diff --git a/Library/Formula/bonnie++.rb b/Library/Formula/bonnie++.rb new file mode 100644 index 000000000..ed1c049f3 --- /dev/null +++ b/Library/Formula/bonnie++.rb @@ -0,0 +1,17 @@ +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 -- cgit v1.2.3