aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorReid Burke2010-10-04 23:59:07 -0700
committerAdam Vandenberg2010-10-16 18:09:32 -0700
commitfc3cabb24e81228eb8aab0bf9f78892e6c54bdaa (patch)
tree04e1338fee86a58064d4d60a501ccd075120432b /Library
parentf3fdd022956204ed15a291cbdefba378c3d5345e (diff)
downloadhomebrew-fc3cabb24e81228eb8aab0bf9f78892e6c54bdaa.tar.bz2
Add yuicompressor 2.4.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/yuicompressor.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/yuicompressor.rb b/Library/Formula/yuicompressor.rb
new file mode 100644
index 000000000..d4778487d
--- /dev/null
+++ b/Library/Formula/yuicompressor.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Yuicompressor <Formula
+ url 'http://yuilibrary.com/downloads/yuicompressor/yuicompressor-2.4.2.zip'
+ homepage 'http://yuilibrary.com/project/yuicompressor'
+ md5 '2a526a9aedfe2affceed1e1c3f9c0579'
+
+ def install
+ libexec.install "build/yuicompressor-2.4.2.jar"
+ (bin+'yuicompressor').write <<-EOS.undent
+ #!/bin/sh
+ java -jar "#{libexec}/yuicompressor-2.4.2.jar" $@
+ EOS
+ end
+end