Files
tigerbrew/Library/Formula/ntl.rb
T
Stephen Tu 4b9c9fb1f9 New Formula: NTL
NTL is a library of algorithmns for number theory computations.

Closes #7818.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-28 20:26:04 -07:00

16 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