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:
parent
9676833730
commit
ed3f3da036
1 changed files with 15 additions and 0 deletions
15
Formula/ntl.rb
Normal file
15
Formula/ntl.rb
Normal 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
|
Loading…
Reference in a new issue