aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/cryptopp.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/cryptopp.rb b/Library/Formula/cryptopp.rb
new file mode 100644
index 000000000..74cf835b1
--- /dev/null
+++ b/Library/Formula/cryptopp.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Cryptopp <Formula
+ url 'http://downloads.sourceforge.net/project/cryptopp/cryptopp/5.6.0/cryptopp560.zip'
+ homepage 'http://www.cryptopp.com/'
+ sha1 'b836783ebd72d5bc6a916620ab2b1ecec316fef1'
+ version '5.6.0'
+
+ aka 'libcryptopp'
+
+ def install
+ system "make"
+ lib.install "libcryptopp.a"
+ (include+'cryptopp').install Dir["*.h"]
+ end
+end