Files
tigerbrew/Library/Formula/rhino.rb
T
Brett Koonce 9c10b427bd rhino 1.7R4
Closes #13727.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-29 10:46:15 -07:00

17 lines
377 B
Ruby

require 'formula'
class Rhino < Formula
homepage 'http://www.mozilla.org/rhino/'
url 'https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip'
sha1 '483e097cb575c724c745edd80c9512f073bd510a'
version '1.7R4'
def install
libexec.install 'js.jar'
(bin+'rhino').write <<-EOS.undent
#!/bin/bash
java -jar "#{libexec}/js.jar" "$@"
EOS
end
end