2011-01-25 22:39:18 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Phantomjs < Formula
|
2011-01-25 22:39:18 +00:00
|
|
|
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
|
2011-03-09 07:14:17 +00:00
|
|
|
system "qmake -spec macx-g++"
|
2011-01-25 22:39:18 +00:00
|
|
|
system "make"
|
|
|
|
bin.install "bin/phantomjs.app/Contents/MacOS/phantomjs"
|
|
|
|
end
|
|
|
|
end
|