require 'formula' class Cvsutils < Formula homepage 'http://www.red-bean.com/cvsutils/' url 'http://www.red-bean.com/cvsutils/releases/cvsutils-0.2.5.tar.gz' sha1 '294599ce431be50ad1da7295e8b6a65a17fbf531' def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end def test system "#{bin}/cvsu --help" end end id='header'> cgit logo index : homebrew
:beer: The missing package manager for OS X.
aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/jython.rb
blob: a01309bb3a15ce82293226732695b9ea75c3e5cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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