2011-11-25 02:12:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Jing < Formula
|
|
|
|
homepage 'http://code.google.com/p/jing-trang/'
|
|
|
|
url 'http://jing-trang.googlecode.com/files/jing-20091111.zip'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '2e8eacf399249d226ad4f6ca1d6907ff69430118'
|
2011-11-25 02:12:35 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
libexec.install Dir["*"]
|
2012-03-17 04:59:28 +00:00
|
|
|
(bin+'jing').write <<-EOS.undent
|
|
|
|
#!/bin/bash
|
|
|
|
java -jar "#{libexec}/bin/jing.jar" "$@"
|
|
|
|
EOS
|
2011-11-25 02:12:35 +00:00
|
|
|
end
|
|
|
|
end
|