homebrew-core/Formula/phantomjs.rb

17 lines
387 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Phantomjs < Formula
url "https://phantomjs.googlecode.com/files/phantomjs-1.3.0-source.tar.gz"
2011-05-27 05:02:55 +00:00
head "https://github.com/ariya/phantomjs.git"
homepage 'http://www.phantomjs.org/'
sha1 "76902ad0956cf212cc9bb845f290690f53eca576"
depends_on 'qt'
def install
system "qmake -spec macx-g++"
system "make"
bin.install "bin/phantomjs"
end
end