2011-09-25 19:16:38 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ntl < Formula
|
|
|
|
homepage 'http://www.shoup.net/ntl'
|
2012-02-21 06:04:21 +00:00
|
|
|
url 'http://www.shoup.net/ntl/ntl-5.5.2.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'b45e3858f7f351afeb7fbb831b256befc4892b06'
|
2011-09-25 19:16:38 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-21 06:04:21 +00:00
|
|
|
cd "src" do
|
|
|
|
system "./configure", "PREFIX=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make check"
|
|
|
|
system "make install"
|
|
|
|
end
|
2011-09-25 19:16:38 +00:00
|
|
|
end
|
|
|
|
end
|