Created
January 14, 2012 23:04
-
-
Save wilmoore/1613282 to your computer and use it in GitHub Desktop.
homebrew formula for phantomjs (macosx static without qt dependency)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Phantomjs < Formula | |
url "https://phantomjs.googlecode.com/files/phantomjs-1.4.1-macosx-static-x86.zip" | |
homepage 'http://www.phantomjs.org/' | |
sha1 "416ea14ac2f9d12c3b382d169987c3829017dea8" | |
def install | |
system "qmake -spec macx-g++" | |
system "make" | |
bin.install "bin/phantomjs" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Install Latest
brew install https://raw.github.com/gist/1613282/phantomjs.rb
Downloads Page
http://code.google.com/p/phantomjs/downloads/list
Assumes you've previously installed qt
brew install https://downloads.sf.net/project/machomebrew/Bottles/qt-4.7.3-bottle.tar.gz