blob: 5b038f1b45b2709b3e77b4d3cfc200c5512711a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  | 
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
  |