homebrew-core/Formula/yuicompressor.rb
Marcel Koeppen 4c5b8f8421 YUI Compressor 2.4.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-27 07:30:37 -07:00

15 lines
429 B
Ruby

require 'formula'
class Yuicompressor < Formula
url 'http://yuilibrary.com/downloads/yuicompressor/yuicompressor-2.4.6.zip'
homepage 'http://yuilibrary.com/projects/yuicompressor'
md5 '85670711b55124240a087e0b552304fa'
def install
libexec.install "build/yuicompressor-2.4.6.jar"
(bin+'yuicompressor').write <<-EOS.undent
#!/bin/sh
java -jar "#{libexec}/yuicompressor-2.4.6.jar" $@
EOS
end
end