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