Skip to content

Commit

Permalink
mbedtls: add 3.3.0 bottle.
Browse files Browse the repository at this point in the history
  • Loading branch information
gromgit committed Jan 26, 2023
1 parent 5b8732a commit b101f82
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Formula/mbedtls.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ class Mbedtls < Formula

bottle do
root_url "https://github.com/gromgit/homebrew-core-mojave/releases/download/mbedtls"
sha256 cellar: :any, mojave: "c1610c90d888067ea5b0aa893072d9c2ceda3490c0f60d68a0b65781ca84b30f"
rebuild 1
sha256 cellar: :any, mojave: "3804609add66a8809d1bdddab40e80110939711953fe7d60ace9e372371c2a29"
end

depends_on "cmake" => :build
depends_on "python@3.10" => :build
depends_on "python@3.11" => :build

def install
inreplace "include/mbedtls/mbedtls_config.h" do |s|
Expand All @@ -30,7 +31,7 @@ def install

system "cmake", "-S", ".", "-B", "build",
"-DUSE_SHARED_MBEDTLS_LIBRARY=On",
"-DPython3_EXECUTABLE=#{which("python3.10")}",
"-DPython3_EXECUTABLE=#{which("python3.11")}",
"-DCMAKE_INSTALL_RPATH=#{rpath}",
"-DGEN_FILES=OFF",
*std_cmake_args
Expand Down

0 comments on commit b101f82

Please sign in to comment.