homebrew-core/Formula/memtester.rb

17 lines
434 B
Ruby
Raw Normal View History

require 'formula'
2011-03-21 20:02:17 +00:00
class Memtester < Formula
url 'http://pyropus.ca/software/memtester/old-versions/memtester-4.2.2.tar.gz'
homepage 'http://pyropus.ca/software/memtester/'
md5 '0118616cc8860c6b85ef6a1281da1783'
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