New Formula: NTL

NTL is a library of algorithmns for number theory computations.

Closes Homebrew/homebrew#7818.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This commit is contained in:
Stephen Tu 2011-09-25 15:16:38 -04:00 committed by Charlie Sharpsteen
parent 9676833730
commit ed3f3da036

15
Formula/ntl.rb Normal file
View file

@ -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