blob: b0a4efec5265e90bf9920ce89098928cc67bdd00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  | 
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
  |