homebrew-core/Formula/pari.rb
ear cf701329fa pari 2.5.3
Closes Homebrew/homebrew#15972.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-11 09:25:36 -08:00

20 lines
590 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.3.tar.gz'
sha1 'de79eee7ae017a495dc0c648b6f7d5a4f6c7a522'
depends_on :x11
depends_on 'readline'
def install
readline = Formula.factory 'readline'
system "./Configure", "--prefix=#{prefix}",
"--with-readline-include=#{readline.include}",
"--with-readline-lib=#{readline.lib}"
# make needs to be done in two steps
system "make all"
system "make install"
end
end