homebrew-core/Formula/pari.rb
Erik Gregg a0aa9bedc4 Pari 2.5.1
Also added readline support.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-20 20:12:06 -08:00

19 lines
563 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.1.tar.gz'
md5 'd267dd1be4839f209217c8fff615478e'
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