require 'formula' class CssCrush < Formula homepage 'http://the-echoplex.net/csscrush' url 'https://github.com/peteboere/css-crush/archive/v2.0.1.tar.gz' sha1 'dc91eda746938c0b876e47750177a70ccdb66568' def install libexec.install Dir['*'] (bin+'csscrush').write <<-EOS.undent #!/bin/sh php "#{libexec}/cli.php" "$@" EOS end end