Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

New formula for libfplll

  • Loading branch information...
commit 4850325f3183d2b7599b9b3b2628d9cd1edfdddb 1 parent 8b1c4f1
laurentbartholdi laurentbartholdi authored
Showing with 21 additions and 0 deletions.
  1. +20 −0 Library/Formula/libfplll.rb
  2. +1 −0  Library/Formula/pari.rb
20 Library/Formula/libfplll.rb
View
@@ -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
1  Library/Formula/pari.rb
View
@@ -6,6 +6,7 @@ class Pari < Formula
sha1 'c83314bb993161a60e1e46ae7616072858414354'
depends_on 'readline'
+ depends_on :x11
def install
readline = Formula.factory 'readline'
Please sign in to comment.
Something went wrong with that request. Please try again.