aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorSamuel Chou2011-03-10 22:45:07 -0800
committerAdam Vandenberg2011-03-15 09:49:49 -0700
commitd7d35f4b05bfdd7ba7288e534c225d91fbc9dfff (patch)
tree17cbedf461262850d3dc71c3e7b6d737f168887d /Library/Formula
parent232acd05786b1f28bfafe94971478a1d30ab1aa6 (diff)
downloadhomebrew-d7d35f4b05bfdd7ba7288e534c225d91fbc9dfff.tar.bz2
memtester 4.2.1
A userspace utility for testing the memory subsystem for faults. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/memtester.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/memtester.rb b/Library/Formula/memtester.rb
new file mode 100644
index 000000000..bad82f630
--- /dev/null
+++ b/Library/Formula/memtester.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Memtester <Formula
+ url 'http://pyropus.ca/software/memtester/old-versions/memtester-4.2.1.tar.gz'
+ homepage 'http://pyropus.ca/software/memtester/'
+ md5 '070ced84da42060d65489e6dc1a4211a'
+
+ def install
+ inreplace "Makefile" do |s|
+ s.change_make_var! 'INSTALLPATH', prefix
+ s.gsub! 'man/man8', 'share/man/man8'
+ end
+ inreplace "conf-ld", " -s", ""
+ system "make install"
+ end
+end