homebrew-core/Formula/phantomjs.rb
Chris Adams b95e33a421 Add formula for PhantomJS 1.0.0
Closes Homebrew/homebrew#4018.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2011-02-12 14:57:45 +00:00

16 lines
388 B
Ruby

require 'formula'
class Phantomjs <Formula
url 'http://phantomjs.googlecode.com/files/phantomjs-1.0.0.tar.gz'
head "git://github.com/ariya/phantomjs.git"
homepage 'http://phantomjs.googlecode.com/'
md5 '6aa18de82e24923fa1a1feeaf299ecef'
depends_on 'qt'
def install
system "qmake"
system "make"
bin.install "bin/phantomjs.app/Contents/MacOS/phantomjs"
end
end