homebrew-core/Formula/valkyrie.rb
2013-05-27 22:32:40 -07:00

27 lines
623 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'
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