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'
|
|
|
|
md5 '13eef193921409a1636377d1efbf9843'
|
|
|
|
|
|
|
|
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
|