Skip to content
Browse files

New formula for libfplll

  • Loading branch information...
1 parent 887bff8 commit e58ef9442eeed632668a45429c81e5aae84821a8 @laurentbartholdi laurentbartholdi committed
Showing with 21 additions and 0 deletions.
  1. +20 −0 Library/Formula/libfplll.rb
  2. +1 −0 Library/Formula/pari.rb
View
20 Library/Formula/libfplll.rb
@@ -0,0 +1,20 @@
+require 'formula'
+
+class Libfplll < Formula
+ homepage 'http://xpujol.net/fplll/'
+ url 'http://xpujol.net/fplll/libfplll-4.0.1.tar.gz'
+ sha1 'ce18f0f0113969172b77b790fb370fcd2d304a32'
+
+ depends_on 'gmp'
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make"
+ system "make install"
+ prefix.install "src/dim55_in"
+ end
+
+ def test
+ system "#{bin}/fplll < #{prefix}/dim55_in"
+ end
+end
View
1 Library/Formula/pari.rb
@@ -7,6 +7,7 @@ class Pari < Formula
depends_on :x11
depends_on 'readline'
+ depends_on :x11
def install
readline = Formula.factory 'readline'

0 comments on commit e58ef94

Please sign in to comment.
Something went wrong with that request. Please try again.