homebrew-core/Formula/ntl.rb
Stephen Tu ed3f3da036 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>
2011-09-28 20:26:04 -07:00

15 lines
326 B
Ruby

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