2010-06-05 15:26:54 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cryptopp < Formula
|
2011-01-30 21:45:06 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/cryptopp/cryptopp/5.6.1/cryptopp561.zip'
|
2010-06-05 15:26:54 +00:00
|
|
|
homepage 'http://www.cryptopp.com/'
|
2011-01-30 21:45:06 +00:00
|
|
|
sha1 '31dbb456c21f50865218c57b7eaf4c955a222ba1'
|
|
|
|
version '5.6.1'
|
2010-06-05 15:26:54 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
lib.install "libcryptopp.a"
|
|
|
|
(include+'cryptopp').install Dir["*.h"]
|
|
|
|
end
|
|
|
|
end
|