2010-02-18 00:53:52 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Pbc < Formula
|
2010-02-18 00:53:52 +00:00
|
|
|
homepage 'http://crypto.stanford.edu/pbc/'
|
2013-01-29 05:02:06 +00:00
|
|
|
url 'http://crypto.stanford.edu/pbc/files/pbc-0.5.12.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '6fc0815a3e7766958365df4495247049d1bf968c'
|
2010-02-18 00:53:52 +00:00
|
|
|
|
|
|
|
depends_on 'gmp'
|
|
|
|
|
2013-01-19 21:05:00 +00:00
|
|
|
fails_with :clang do
|
|
|
|
build 421
|
|
|
|
cause "Clang does not support nested functions"
|
|
|
|
end
|
|
|
|
|
2010-02-18 00:53:52 +00:00
|
|
|
def install
|
2013-01-29 05:02:06 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2010-02-18 00:53:52 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|