2009-10-17 14:06:17 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Jython < Formula
|
2012-02-12 22:37:41 +00:00
|
|
|
homepage 'http://www.jython.org'
|
2011-03-03 21:08:39 +00:00
|
|
|
url "http://downloads.sourceforge.net/project/jython/jython/2.5.2/jython_installer-2.5.2.jar",
|
2010-08-10 20:39:56 +00:00
|
|
|
:using => :nounzip
|
2011-03-03 21:08:39 +00:00
|
|
|
sha1 'd4534a691edf40aa1d51723dfe3e22db1e39b432'
|
2011-01-14 16:52:44 +00:00
|
|
|
|
2009-10-17 14:06:17 +00:00
|
|
|
def install
|
2012-02-12 22:37:41 +00:00
|
|
|
system "java", "-jar", "jython_installer-2.5.2.jar", "-s", "-d", libexec
|
|
|
|
bin.install_symlink libexec+'bin/jython'
|
2009-10-17 14:06:17 +00:00
|
|
|
end
|
|
|
|
end
|