homebrew-core/Formula/htmlcompressor.rb

16 lines
421 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Htmlcompressor < Formula
url 'http://htmlcompressor.googlecode.com/files/htmlcompressor-1.5.2.jar'
homepage 'http://code.google.com/p/htmlcompressor/'
md5 '91575c89c83d0563dcf2aad409e4748f'
def install
libexec.install "htmlcompressor-1.5.2.jar"
(bin+'htmlcompressor').write <<-EOS.undent
#!/bin/sh
java -jar "#{libexec}/htmlcompressor-1.5.2.jar" $@
EOS
end
end