From a649dc172b91bbabe44c3cb39cf3ab243bbd5e35 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 10 Aug 2010 13:39:56 -0700 Subject: [PATCH] Update jython * Add HEAD version for 2.5.2 beta * Install to libexec and symlink jython script * Cache the installer jar --- Formula/jython.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Formula/jython.rb b/Formula/jython.rb index b554954aab0..c5865e155c1 100644 --- a/Formula/jython.rb +++ b/Formula/jython.rb @@ -1,12 +1,16 @@ require 'formula' class Jython :nounzip md5 '2ee978eff4306b23753b3fe9d7af5b37' + homepage 'http://www.jython.org' + head "http://downloads.sourceforge.net/project/jython/jython-dev/2.5.2b1/jython_installer-2.5.2b1.jar", + :using => :nounzip def install - system "java", "-jar", JAR, "-s", "-d", prefix + system "java", "-jar", Pathname.new(@url).basename, "-s", "-d", libexec + bin.mkpath + ln_s libexec+'bin/jython', bin end end