2013-07-30 15:50:05 +00:00
|
|
|
class ActivemqCpp < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "C++ API for message brokers such as Apache ActiveMQ"
|
2014-11-02 21:51:45 +00:00
|
|
|
homepage "https://activemq.apache.org/cms/index.html"
|
2015-08-03 12:55:31 +00:00
|
|
|
url "https://www.apache.org/dyn/closer.cgi?path=activemq/activemq-cpp/3.8.4/activemq-cpp-library-3.8.4-src.tar.bz2"
|
|
|
|
sha256 "9fba18d57f7512ae4f17008d7745d1b4c957b858b585860deadbf9208cb733e3"
|
2014-11-02 21:51:45 +00:00
|
|
|
|
2015-02-23 15:15:41 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
revision 1
|
2015-11-19 15:45:31 +00:00
|
|
|
sha256 "2498f3693277a93b0607a04ff7dbdecc018a8621535db12964a2abee3d0550fa" => :yosemite
|
|
|
|
sha256 "1924f8c680b4f5ce033a915623df17779a63aea9a816961360585bf3071c6a22" => :mavericks
|
|
|
|
sha256 "d276773ac0864c7c02bc4a55eac7ee52c73d5d0046ccd7fa5d2ebeb1453f60ee" => :mountain_lion
|
2015-02-23 15:15:41 +00:00
|
|
|
end
|
|
|
|
|
2014-11-02 21:51:45 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "openssl"
|
2013-07-30 15:50:05 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make"
|
2014-11-02 21:51:45 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/activemqcpp-config", "--version"
|
2013-07-30 15:50:05 +00:00
|
|
|
end
|
|
|
|
end
|