aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pbc.rb
blob: 070b4832d51c0954e23d2b73e4481a37d81c1cbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class Pbc < Formula
  url 'http://crypto.stanford.edu/pbc/files/pbc-0.5.12.tar.gz'
  homepage 'http://crypto.stanford.edu/pbc/'
  sha1 '6fc0815a3e7766958365df4495247049d1bf968c'

  depends_on 'gmp'

  fails_with :clang do
    build 421
    cause "Clang does not support nested functions"
  end

  def install
    system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
    system "make install"
  end
end