aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJonathan Wilkins2013-07-30 13:13:05 -0700
committerAdam Vandenberg2013-09-14 23:23:39 -0700
commit26c32e941014dd333cd4134b18ebdc6dff1147b7 (patch)
treed2fbfe61ce71e9c4b375d898984470eb766f5c98 /Library/Formula
parent9a26da350583eefaba87376e0df2c2d849bb97a9 (diff)
downloadhomebrew-26c32e941014dd333cd4134b18ebdc6dff1147b7.tar.bz2
dieharder 3.31.1
Closes #21551. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/dieharder.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/dieharder.rb b/Library/Formula/dieharder.rb
new file mode 100644
index 000000000..2a348ae24
--- /dev/null
+++ b/Library/Formula/dieharder.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Dieharder < Formula
+ homepage 'http://www.phy.duke.edu/~rgb/General/dieharder.php'
+ url 'http://www.phy.duke.edu/~rgb/General/dieharder/dieharder-3.31.1.tgz'
+ sha1 '506b1380c780f90372d9d4adcb5cfcc96234f2a8'
+
+ depends_on 'gsl'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-shared"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/dieharder", "-a", "-g", "501"
+ end
+end