cryptopp 5.6.3

Closes Homebrew/homebrew#47313.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Peter van Dijk 2015-12-23 22:56:13 +01:00 committed by Dominyk Tiller
parent e07e6dbb89
commit f7c36ef662

View file

@ -1,10 +1,10 @@
class Cryptopp < Formula
desc "Free C++ class library of cryptographic schemes"
homepage "https://www.cryptopp.com/"
url "https://downloads.sourceforge.net/project/cryptopp/cryptopp/5.6.2/cryptopp562.zip"
mirror "https://www.cryptopp.com/cryptopp562.zip"
version "5.6.2"
sha256 "5cbfd2fcb4a6b3aab35902e2e0f3b59d9171fee12b3fc2b363e1801dfec53574"
url "https://downloads.sourceforge.net/project/cryptopp/cryptopp/5.6.3/cryptopp563.zip"
mirror "https://www.cryptopp.com/cryptopp563.zip"
version "5.6.3"
sha256 "9390670a14170dd0f48a6b6b06f74269ef4b056d4718a1a329f6f6069dc957c9"
bottle do
cellar :any_skip_relocation
@ -16,13 +16,6 @@ class Cryptopp < Formula
option :cxx11
# Incorporated upstream, remove on next version update
# https://groups.google.com/forum/#!topic/cryptopp-users/1wdyb2FSwc4
patch :p1 do
url "https://github.com/weidai11/cryptopp/commit/44015c26ba215f955b1e653f9c8f3c894a532707.patch"
sha256 "2ca6c2f9dda56fa29df952d0ee829c9501a2cbc43a68bdc786d8241aefaddea6"
end
def install
ENV.cxx11 if build.cxx11?
system "make", "CXX=#{ENV.cxx}"