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