homebrew-core/Formula/phantomjs.rb
Ghislain Seguin 6984686515 phantomjs 1.2.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-27 14:10:05 -07:00

16 lines
412 B
Ruby

require 'formula'
class Phantomjs < Formula
url "http://phantomjs.googlecode.com/files/phantomjs-1.2.0-source.zip"
head "https://github.com/ariya/phantomjs.git"
homepage 'http://www.phantomjs.org/'
sha1 "0b8b20fbc45013ecf61dd988390dd979a894dec1"
depends_on 'qt'
def install
system "qmake -spec macx-g++"
system "make"
bin.install "bin/phantomjs.app/Contents/MacOS/phantomjs"
end
end