homebrew-core/Formula/phantomjs.rb

17 lines
412 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Phantomjs < Formula
url "http://phantomjs.googlecode.com/files/phantomjs-1.2.0-source.zip"
2011-05-27 05:02:55 +00:00
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