aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/htmlcompressor.rb
blob: f937e9c157ce043cf9e0fee97a361daa512860ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'formula'

class Htmlcompressor < Formula
  url 'http://htmlcompressor.googlecode.com/files/htmlcompressor-1.3.jar'
  homepage 'http://code.google.com/p/htmlcompressor/'
  md5 '68296830cb99e4348284ea88602ed06b'

  def install
    libexec.install "htmlcompressor-1.3.jar"
    (bin+'htmlcompressor').write <<-EOS.undent
      #!/bin/sh
      java -jar "#{libexec}/htmlcompressor-1.3.jar" $@
    EOS
  end
end