2011-06-25 16:34:52 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Rhino < Formula
|
|
|
|
homepage 'http://www.mozilla.org/rhino/'
|
2012-07-29 17:12:29 +00:00
|
|
|
url 'https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip'
|
|
|
|
sha1 '483e097cb575c724c745edd80c9512f073bd510a'
|
|
|
|
version '1.7R4'
|
2011-06-25 16:34:52 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
libexec.install 'js.jar'
|
2012-08-07 18:20:52 +00:00
|
|
|
bin.write_jar_script libexec/'js.jar', 'rhino'
|
2011-06-25 16:34:52 +00:00
|
|
|
end
|
|
|
|
end
|