2010-06-11 22:30:49 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Apgdiff < Formula
|
2010-06-11 22:30:49 +00:00
|
|
|
homepage 'http://apgdiff.sourceforge.net/'
|
2012-02-13 05:13:28 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/apgdiff/apgdiff/apgdiff-1.4/apgdiff-1.4-bin.zip'
|
2010-06-11 22:30:49 +00:00
|
|
|
md5 '6ef287d02b4429d2111140f7fb2d8c29'
|
|
|
|
|
|
|
|
def install
|
|
|
|
libexec.install "apgdiff-1.4.jar"
|
2012-02-13 05:13:28 +00:00
|
|
|
(bin+'apgdiff').write <<-EOS.undent
|
|
|
|
#!/bin/bash
|
|
|
|
java -jar "#{libexec}/apgdiff-1.4.jar" "$@"
|
|
|
|
EOS
|
2010-06-11 22:30:49 +00:00
|
|
|
end
|
|
|
|
end
|