class ActivemqCpp < Formula desc "C++ API for message brokers such as Apache ActiveMQ" homepage "https://activemq.apache.org/components/cms/" url "https://www.apache.org/dyn/closer.lua?path=activemq/activemq-cpp/3.9.5/activemq-cpp-library-3.9.5-src.tar.bz2" mirror "https://archive.apache.org/dist/activemq/activemq-cpp/3.9.5/activemq-cpp-library-3.9.5-src.tar.bz2" sha256 "6bd794818ae5b5567dbdaeb30f0508cc7d03808a4b04e0d24695b2501ba70c15" license "Apache-2.0" revision 2 no_autobump! because: :requires_manual_review bottle do sha256 cellar: :any, arm64_tahoe: "a0f11adf35cbc7f7295a0d056b8255af8d54bab66c242fa31704f54070aaa1a7" sha256 cellar: :any, arm64_sequoia: "9662d2f91d16d3077aabec66a532efde437d18987dd1a7be434e3c118a5e1eb9" sha256 cellar: :any, arm64_sonoma: "9c0b1a20e016293fcd540c357d6d879c82446c00720b447ae4e1ee1d1eb546ad" sha256 cellar: :any, arm64_ventura: "9b637874d78138b4debd3b45d1bbd54d79babf16bfdfbf9acc340103208262bd" sha256 cellar: :any, arm64_monterey: "aecbae4664dd780644ff782462ea5bcdcc592917dfad01dde5370a93db641319" sha256 cellar: :any, arm64_big_sur: "8848bb4603302677cc482a59e21f5e5651e844d3d981c75c6ab3e82257ddf234" sha256 cellar: :any, sonoma: "48bb7e137e7277ec31c056f662ad7b799d706a0440ffa353af2ab857e28a3e7b" sha256 cellar: :any, ventura: "49bcd935f1f96ffcc79a19577e32f23d34019eea4c1436054dcf535a47d8ac97" sha256 cellar: :any, monterey: "fc59b7bff98816254d9180614b72606f424c209a97ae1a0a6e28985af8889f6a" sha256 cellar: :any, big_sur: "cce6f6a49cb80accb399d33826380c4220d01701b2b53f14eafde10406f835b5" sha256 cellar: :any, catalina: "296375b0118271838d46daf6722954f6e5a8c791f08245324abd7289b4ded719" sha256 cellar: :any_skip_relocation, arm64_linux: "07d0b32de8d78022c5498d1ff144d16c573bd5de3edf91239f8404dc72cd64a2" sha256 cellar: :any_skip_relocation, x86_64_linux: "fa16d5eb67f51eb3d9e648447398db44713695f5e1c5279c70f7a2229e607a9a" end depends_on "pkgconf" => :build depends_on "apr" depends_on "openssl@3" # Fix -flat_namespace being used on Big Sur and later. patch do url "https://raw.githubusercontent.com/Homebrew/homebrew-core/1cf441a0/Patches/libtool/configure-big_sur.diff" sha256 "35acd6aebc19843f1a2b3a63e880baceb0f5278ab1ace661e57a502d9d78c93c" end def install system "./configure", "--prefix=#{prefix}" system "make" system "make", "install" end test do system bin/"activemqcpp-config", "--version" end end