homebrew-core/Formula/pari.rb
Sasha Gerrand 3908c41ca3 pari 2.5.5
Fixes Homebrew/homebrew#28273.
Closes Homebrew/homebrew#28277.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-04-09 11:25:34 -05:00

20 lines
556 B
Ruby

require 'formula'
class Pari < Formula
homepage 'http://pari.math.u-bordeaux.fr/'
url 'http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.5.tar.gz'
sha1 '77637f935ee4a3b78e7015cef00146bd2f7e96bc'
depends_on 'readline'
depends_on :x11
def install
readline = Formula["readline"].opt_prefix
system "./Configure", "--prefix=#{prefix}",
"--without-gmp",
"--with-readline=#{readline}"
# make needs to be done in two steps
system "make all"
system "make install"
end
end