aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authormithrandi@mithrandi.net2011-10-10 15:21:22 +0200
committerCharlie Sharpsteen2011-10-11 09:51:53 -0700
commit66e3aba5d37cdb759c7fcaf3fbef7e44b98c04ea (patch)
tree7e4b3be716e0c0534de1dc150198f8dd41d445ec /Library/Formula
parent7ccd4d0a8d7305e19ccf1dd8804fb0b661eafd99 (diff)
downloadhomebrew-66e3aba5d37cdb759c7fcaf3fbef7e44b98c04ea.tar.bz2
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 <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bonnie++.rb17
1 files changed, 17 insertions, 0 deletions
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