aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/activemq-cpp.rb
blob: 1b6a83c4f42f6879d1b43c1466637380a681aef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require "formula"

class ActivemqCpp < Formula
  homepage "https://activemq.apache.org/cms/index.html"
  url "http://www.apache.org/dyn/closer.cgi?path=activemq/activemq-cpp/3.8.3/activemq-cpp-library-3.8.3-src.tar.bz2"
  sha1 "ea67d8b86a524ff57f2a2e0e2451deafacfd6d4b"

  bottle do
    cellar :any
    sha1 "aa3411a43d75c8e21df2a15895ca2fefdd73d1fd" => :yosemite
    sha1 "8108b14f55b2718b91d740f1cef1a2d1a19077ce" => :mavericks
    sha1 "aa809055878e2d6f617debbd4a02e5e50afd04f7" => :mountain_lion
  end

  depends_on "pkg-config" => :build
  depends_on "openssl"

  def install
    system "./configure", "--prefix=#{prefix}"
    system "make"
    system "make", "install"
  end

  test do
    system "#{bin}/activemqcpp-config", "--version"
  end
end