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.4.1-source.tar.gz"
2011-05-27 05:02:55 +00:00
head "https://github.com/ariya/phantomjs.git"
homepage 'http://www.phantomjs.org/'
sha1 "d9386aa3e36bdd31f069f5301e315a9c5d91f06a"
depends_on 'qt'
def install
system "qmake -spec macx-g++"
system "make"
bin.install "bin/phantomjs"
end
end