homebrew-core/Formula/memtester.rb

17 lines
443 B
Ruby
Raw Normal View History

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