homebrew-core/Formula/yuicompressor.rb
Martin Jagusch a1acab2bd2 yuicompressor 2.4.7
Closes .

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-23 14:10:19 -06:00

15 lines
427 B
Ruby

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