homebrew-core/Formula/valkyrie.rb
Jiahao Chen fa08a5ce1c valkyrie 2.0
valkyrie is a valgrind GUI

Closes Homebrew/homebrew#12217.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-28 21:28:56 -07:00

27 lines
639 B
Ruby

require 'formula'
class Valkyrie < Formula
homepage 'http://valgrind.org/downloads/guis.html'
url 'http://valgrind.org/downloads/valkyrie-2.0.0.tar.bz2'
sha1 '999a6623eea5b7b8d59b55d59b8198f4fcd08add'
head 'svn://svn.valgrind.org/valkyrie/trunk', :using => :svn
depends_on 'qt'
depends_on 'valgrind'
def install
system "qmake", "PREFIX=#{prefix}"
system "make install"
prefix.install bin/'valkyrie.app'
end
def caveats; <<-EOS.undent
The application has been installed to:
#{prefix}/valkyrie.app
To link the application to a normal Mac OS X location:
brew linkapps
EOS
end
end