homebrew-core/Formula/proguard.rb

16 lines
397 B
Ruby
Raw Normal View History

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