2011-02-09 14:09:20 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Proguard < Formula
|
2012-01-19 17:41:42 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/proguard/proguard/4.7/proguard4.7.tar.gz'
|
2011-02-09 14:09:20 +00:00
|
|
|
homepage 'http://proguard.sourceforge.net/'
|
2012-01-19 17:41:42 +00:00
|
|
|
md5 '7c3e746308c0385f09783c3ee710fcc4'
|
2011-02-09 14:09:20 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-11 04:05:02 +00:00
|
|
|
libexec.install 'lib/proguard.jar'
|
|
|
|
(bin+"proguard").write <<-EOS.undent
|
2011-02-09 14:09:20 +00:00
|
|
|
#!/bin/sh
|
2012-02-11 04:05:02 +00:00
|
|
|
java -jar "#{libexec}/proguard.jar" "$@"
|
2011-02-09 14:09:20 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|