2010-10-05 06:59:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Yuicompressor < Formula
|
2011-11-23 14:47:44 +00:00
|
|
|
url 'http://yui.zenfs.com/releases/yuicompressor/yuicompressor-2.4.7.zip'
|
2010-12-29 00:28:53 +00:00
|
|
|
homepage 'http://yuilibrary.com/projects/yuicompressor'
|
2011-11-23 14:47:44 +00:00
|
|
|
md5 '885657c68ed617737e730b4c2ce52dda'
|
2010-10-05 06:59:07 +00:00
|
|
|
|
|
|
|
def install
|
2011-11-23 14:47:44 +00:00
|
|
|
libexec.install "build/yuicompressor-2.4.7.jar"
|
2010-10-05 06:59:07 +00:00
|
|
|
(bin+'yuicompressor').write <<-EOS.undent
|
|
|
|
#!/bin/sh
|
2011-11-23 14:47:44 +00:00
|
|
|
java -jar "#{libexec}/yuicompressor-2.4.7.jar" $@
|
2010-10-05 06:59:07 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|