homebrew-core/Formula/ginac.rb
Jack Nagel e2f9856882 Rename readline to gnu-readline
The Readline class clashes with the Readline module from the Ruby
stdlib. This has mostly worked, but with the recent debugging support's
integration of IRB, it is no longer possible for them to coexist. So we
need to rename it.

The implications of this are:

 - Anything that depends on readline will reinstall it as
   "gnu-readline". Anything already installed will continue to function.

 - "brew upgrade readline" will say "gnu-readline not installed", as
   "readline" is now an alias.

 - Probably other things.

So there are some downsides, but we will just have to deal with them.

Fixes Homebrew/homebrew#15776.
2012-11-10 20:07:32 -06:00

15 lines
352 B
Ruby

require 'formula'
class Ginac < Formula
url 'http://www.ginac.de/ginac-1.6.2.tar.bz2'
homepage 'http://www.ginac.de/'
sha1 'c93913c4c543874b2ade4f0390030641be7e0c41'
depends_on 'cln'
depends_on 'gnu-readline'
def install
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make install"
end
end