htmlcompressor: Update to 1.5.2

Closes Homebrew/homebrew#8263.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
Henry Mercer 2011-10-24 15:22:02 +02:00 committed by Charlie Sharpsteen
parent a0d9965a4c
commit 03eccc1b01

View file

@ -1,15 +1,15 @@
require 'formula'
class Htmlcompressor < Formula
url 'http://htmlcompressor.googlecode.com/files/htmlcompressor-1.4.2.jar'
url 'http://htmlcompressor.googlecode.com/files/htmlcompressor-1.5.2.jar'
homepage 'http://code.google.com/p/htmlcompressor/'
md5 '2afe7aba064c619a761541ab466cca28'
md5 '91575c89c83d0563dcf2aad409e4748f'
def install
libexec.install "htmlcompressor-1.4.2.jar"
libexec.install "htmlcompressor-1.5.2.jar"
(bin+'htmlcompressor').write <<-EOS.undent
#!/bin/sh
java -jar "#{libexec}/htmlcompressor-1.4.2.jar" $@
java -jar "#{libexec}/htmlcompressor-1.5.2.jar" $@
EOS
end
end