homebrew-core/Formula/jython.rb
Adam Vandenberg 8a0838d58c jython 2.5.2
2011-03-03 13:08:39 -08:00

14 lines
397 B
Ruby

require 'formula'
class Jython <Formula
url "http://downloads.sourceforge.net/project/jython/jython/2.5.2/jython_installer-2.5.2.jar",
:using => :nounzip
homepage 'http://www.jython.org'
sha1 'd4534a691edf40aa1d51723dfe3e22db1e39b432'
def install
system "java", "-jar", Pathname.new(@url).basename, "-s", "-d", libexec
bin.mkpath
ln_s libexec+'bin/jython', bin
end
end