homebrew-core/Formula/ntl.rb
Adam Vandenberg da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00

16 lines
338 B
Ruby

require 'formula'
class Ntl < Formula
homepage 'http://www.shoup.net/ntl'
url 'http://www.shoup.net/ntl/ntl-5.5.2.tar.gz'
md5 '2e0afa1fa3b325e562ce89da57cba983'
def install
cd "src" do
system "./configure", "PREFIX=#{prefix}"
system "make"
system "make check"
system "make install"
end
end
end