aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorErik Gregg2012-02-19 18:01:53 -0500
committerAdam Vandenberg2012-02-20 20:12:06 -0800
commitd55c531544f4d54fe386c600d19d3ff13088f6c9 (patch)
tree6f897065016cac3ad5522784e077fbba79d81839 /Library
parent075d05ea6a58ff9ea5ba3296d9e3f3876b421f28 (diff)
downloadhomebrew-d55c531544f4d54fe386c600d19d3ff13088f6c9.tar.bz2
Pari 2.5.1
Also added readline support. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/pari.rb11
1 files changed, 8 insertions, 3 deletions
diff --git a/Library/Formula/pari.rb b/Library/Formula/pari.rb
index 278a377da..c944353c6 100644
--- a/Library/Formula/pari.rb
+++ b/Library/Formula/pari.rb
@@ -1,12 +1,17 @@
require 'formula'
class Pari < Formula
- url 'http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.0.tar.gz'
homepage 'http://pari.math.u-bordeaux.fr/'
- md5 '0b595a1345679ff482785a686c863e9f'
+ url 'http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.1.tar.gz'
+ md5 'd267dd1be4839f209217c8fff615478e'
+
+ depends_on 'readline'
def install
- system "./Configure", "--prefix=#{prefix}"
+ 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"