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