aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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