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-02-23 10:38:59 +00:00
|
|
|
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"
|
2014-11-02 21:51:45 +00:00
|
|
|
|
2015-02-23 15:15:41 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
revision 1
|
|
|
|
sha1 "0a9eb28a54a39e34c7acdbf2223bc3e4321b6e0e" => :yosemite
|
|
|
|
sha1 "4274dcd894a783d0b59f197feece8e5b1c844575" => :mavericks
|
|
|
|
sha1 "4a4fa0eaae9b13720bf78ee95a056ab7165fc07f" => :mountain_lion
|
|
|
|
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
|