2010-02-18 00:53:52 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Pbc <Formula
|
2011-01-06 00:08:37 +00:00
|
|
|
url 'http://crypto.stanford.edu/pbc/files/pbc-0.5.11.tar.gz'
|
2010-02-18 00:53:52 +00:00
|
|
|
homepage 'http://crypto.stanford.edu/pbc/'
|
2011-01-06 00:08:37 +00:00
|
|
|
md5 '93101db31c41dffcce9f4b87edbd8d96'
|
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
|