Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Created January 14, 2012 23:04
Show Gist options
  • Save wilmoore/1613282 to your computer and use it in GitHub Desktop.
Save wilmoore/1613282 to your computer and use it in GitHub Desktop.
homebrew formula for phantomjs (macosx static without qt dependency)
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
@wilmoore
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment