Files
tigerbrew/Library/Formula/htmlcompressor.rb
T
Lars c178307e81 htmlcompressor 0.9.9
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-22 07:32:52 -08:00

16 lines
420 B
Ruby

require 'formula'
class Htmlcompressor <Formula
url 'http://htmlcompressor.googlecode.com/files/htmlcompressor-0.9.9.jar'
homepage 'http://code.google.com/p/htmlcompressor/'
md5 'cbfb5ec29d6f2c50b7aea28de8bc1227'
def install
libexec.install "htmlcompressor-0.9.9.jar"
(bin+'htmlcompressor').write <<-EOS.undent
#!/bin/sh
java -jar "#{libexec}/htmlcompressor-0.9.9.jar" $@
EOS
end
end