Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Libfplll -- LLL lattice reduction library #15295

Closed
wants to merge 3 commits into from

1 participant

Commits on Oct 2, 2012
  1. @laurentbartholdi
Commits on Oct 3, 2012
  1. @laurentbartholdi
Commits on Oct 4, 2012
  1. @laurentbartholdi
This page is out of date. Refresh to see the latest.
View
22 Library/Formula/libdogleg.rb
@@ -0,0 +1,22 @@
+require 'formula'
+
+class Libdogleg < Formula
+ homepage 'https://github.com/Oblong/libdogleg'
+ url 'https://github.com/Oblong/libdogleg/tarball/debian/0.07'
+ version '0.07'
+ sha1 '80b358e087ff057f04d8c34554c8bb5a5250f331'
+
+ def install
+ system "make"
+ system "make sample"
+ lib.install "libdogleg.a"
+ lib.install Dir['libdogleg*.dylib']
+ man3.install "libdogleg.3"
+ include.install "dogleg.h"
+ prefix.install "sample"
+ end
+
+ def test
+ system "#{prefix}/sample"
+ end
+end
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
@@ -6,6 +6,7 @@ class Pari < Formula
sha1 'c83314bb993161a60e1e46ae7616072858414354'
depends_on 'readline'
+ depends_on :x11
def install
readline = Formula.factory 'readline'
Something went wrong with that request. Please try again.