homebrew-core/Formula/valgrind.rb
George Macon 9372631143 New Formula: valgrind
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Added warnings that this won't work on Snow Leopard.
2010-05-13 10:08:38 -07:00

20 lines
579 B
Ruby

require 'formula'
class Valgrind <Formula
url 'http://www.valgrind.org/downloads/valgrind-3.5.0.tar.bz2'
homepage 'http://www.valgrind.org/'
md5 'f03522a4687cf76c676c9494fcc0a517'
def install
opoo "Valgrind 3.5.0 doesn't support Snow Leopard; see caveats." if MACOS_VERSION > 10.5
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
system "make install"
end
def caveats
if MACOS_VERSION > 10.5
"Valgrind does not work on Snow Leopard / 64-bit mode. See:\n"+
" http://bugs.kde.org/show_bug.cgi?id=205241"
end
end
end