Rhino 1.7R3
Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
0d74894c8e
commit
3ea7a1da1c
1 changed files with 16 additions and 0 deletions
16
Formula/rhino.rb
Normal file
16
Formula/rhino.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
require 'formula'
|
||||
|
||||
class Rhino < Formula
|
||||
url 'ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R3.zip'
|
||||
homepage 'http://www.mozilla.org/rhino/'
|
||||
md5 '99d94103662a8d0b571e247a77432ac5'
|
||||
version '1.7R3'
|
||||
|
||||
def install
|
||||
libexec.install 'js.jar'
|
||||
(bin+'rhino').write <<-EOS.undent
|
||||
#!/bin/sh
|
||||
java -jar "#{libexec}/js.jar" $@
|
||||
EOS
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue