Skip to content

Instantly share code, notes, and snippets.

@m4ce
Last active July 29, 2020 16:10
Show Gist options
  • Save m4ce/564653eff90242578ec99e5e35472f36 to your computer and use it in GitHub Desktop.
Save m4ce/564653eff90242578ec99e5e35472f36 to your computer and use it in GitHub Desktop.
Boost certify brew formula
class Certify < Formula
desc "Platform-specific TLS keystore abstraction for use with Boost.ASIO and OpenSSL"
version "0.1"
homepage "https://github.com/djarek/certify"
url "https://github.com/gsr-zug/certify/archive/v0.1.tar.gz"
sha256 "a78ad70e6c554e2089746a362f270cd7e85b92ab555b1cbe906a5ead6efaee73"
depends_on "cmake" => :build
depends_on "openssl"
depends_on "boost"
def install
system "cmake", ".", *std_cmake_args,
"-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl",
"-DBUILD_TESTING=OFF"
system "make", "install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment