diff options
| author | Stephen Tu | 2011-09-25 15:16:38 -0400 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-09-28 20:26:04 -0700 |
| commit | 4b9c9fb1f97e16b7cdf31891959b80a538ccdb2e (patch) | |
| tree | 22b31116911cf647c0c18ff42e21c9c5ef961e94 /Library | |
| parent | c9767e5cff7daad463a8c3bd97e7a619b7430462 (diff) | |
| download | homebrew-4b9c9fb1f97e16b7cdf31891959b80a538ccdb2e.tar.bz2 | |
New Formula: NTL
NTL is a library of algorithmns for number theory computations.
Closes #7818.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ntl.rb | 15 |
1 files changed, 15 insertions, 0 deletions
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 |
