homebrew-core/Formula/pbc.rb
2013-01-19 15:05:02 -06:00

19 lines
444 B
Ruby

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