aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ntl.rb
blob: fc4e4812e8445883f6e1f3fece5336eeca9155e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require "formula"

class Ntl < Formula
  homepage "http://www.shoup.net/ntl"
  url "http://www.shoup.net/ntl/ntl-6.2.1.tar.gz"
  sha1 "3b9ab3bedb0b2e9b5ee322d60745be5caf1c743f"

  bottle do
    cellar :any
    sha1 "b55331990e2df310d694d5ae67dc3a55d6f18fd1" => :mavericks
    sha1 "bd1f0789b9ebefb00eabd5d9de5f5dc2fe08bbc7" => :mountain_lion
    sha1 "0f7793a186aca6d6ea229b678575a008d3e1911b" => :lion
  end

  def install
    cd "src" do
      system "./configure", "PREFIX=#{prefix}"
      system "make"
      system "make", "check"
      system "make", "install"
    end
  end
end