From 4b9c9fb1f97e16b7cdf31891959b80a538ccdb2e Mon Sep 17 00:00:00 2001 From: Stephen Tu Date: Sun, 25 Sep 2011 15:16:38 -0400 Subject: New Formula: NTL NTL is a library of algorithmns for number theory computations. Closes #7818. Signed-off-by: Charlie Sharpsteen --- Library/Formula/ntl.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Library/Formula/ntl.rb (limited to 'Library/Formula/ntl.rb') diff --git a/Library/Formula/ntl.rb b/Library/Formula/ntl.rb new file mode 100644 index 000000000..801ecccb0 --- /dev/null +++ b/Library/Formula/ntl.rb @@ -0,0 +1,15 @@ +require 'formula' + +class Ntl < Formula + url 'http://www.shoup.net/ntl/ntl-5.5.2.tar.gz' + homepage 'http://www.shoup.net/ntl' + md5 '2e0afa1fa3b325e562ce89da57cba983' + + def install + Dir.chdir "src" + system "./configure", "PREFIX=#{prefix}" + system "make" + system "make check" + system "make install" + end +end -- cgit v1.2.3