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