homebrew-core/Formula/jython.rb
2012-02-12 20:08:59 -08:00

13 lines
394 B
Ruby

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