homebrew-core/Formula/jing.rb
2012-03-16 21:59:28 -07:00

15 lines
360 B
Ruby

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["*"]
(bin+'jing').write <<-EOS.undent
#!/bin/bash
java -jar "#{libexec}/bin/jing.jar" "$@"
EOS
end
end