aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/activemq-cpp.rb
blob: b3689d94204fc0569d5a366f461d81ffb2c56493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.4/activemq-cpp-library-3.8.4-src.tar.bz2"
  sha1 "7c0c79833f1647df3905948f3b8f2592bc7a8994"

  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