require 'formula' class Casperjs < Formula homepage 'http://www.casperjs.org/' url 'https://github.com/n1k0/casperjs/zipball/1.0.0' sha1 '354fecde094f72523f26f7032b65f3aae7013eba' head 'https://github.com/n1k0/casperjs.git' depends_on 'phantomjs' def install libexec.install Dir['*'] bin.install_symlink libexec+'bin/casperjs' end end