2011-01-25 22:39:18 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Phantomjs < Formula
|
2012-01-02 22:07:39 +00:00
|
|
|
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"
|
2011-05-23 13:14:55 +00:00
|
|
|
homepage 'http://www.phantomjs.org/'
|
2012-01-02 22:07:39 +00:00
|
|
|
sha1 "d9386aa3e36bdd31f069f5301e315a9c5d91f06a"
|
2011-01-25 22:39:18 +00:00
|
|
|
|
|
|
|
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"
|
2011-09-25 10:43:13 +00:00
|
|
|
bin.install "bin/phantomjs"
|
2011-01-25 22:39:18 +00:00
|
|
|
end
|
|
|
|
end
|