homebrew-core/Formula/qcachegrind.rb
Andy Fowler 92f3c6823e qcachegrind: Update to 0.7.1
No longer dependent on qt3 compatibility modules.

Closes Homebrew/homebrew#10205.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-02-16 00:31:26 -08:00

21 lines
475 B
Ruby

require 'formula'
class Qcachegrind < Formula
url 'http://kcachegrind.sourceforge.net/kcachegrind-0.7.1.tgz'
homepage 'http://kcachegrind.sourceforge.net/'
md5 '39376990a9ea2e9f1b75f43f9104fd70'
depends_on 'graphviz' => :optional
depends_on 'qt'
def install
cd 'qcachegrind'
system 'qmake -spec macx-g++ -config release'
system 'make'
bin.install 'qcachegrind.app/Contents/MacOS/qcachegrind'
end
def test
system 'qcachegrind'
end
end