2010-02-18 00:53:52 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Pbc < Formula
|
2011-08-24 20:20:12 +00:00
|
|
|
url 'http://crypto.stanford.edu/pbc/files/pbc-0.5.12.tar.gz'
|
2010-02-18 00:53:52 +00:00
|
|
|
homepage 'http://crypto.stanford.edu/pbc/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '6fc0815a3e7766958365df4495247049d1bf968c'
|
2010-02-18 00:53:52 +00:00
|
|
|
|
|
|
|
depends_on 'gmp'
|
|
|
|
|
|
|
|
def install
|
2010-06-02 03:42:42 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
2010-02-18 00:53:52 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|