Files
tigerbrew/Library/Formula/htmlcompressor.rb
T
Henry Mercer 83cbddcaba htmlcompressor: Update to 1.5.2
Closes #8263.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-10-25 11:24:33 -07:00

16 lines
421 B
Ruby

require 'formula'
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