2014-05-31 22:49:02 +00:00
|
|
|
require "formula"
|
2013-07-30 15:50:05 +00:00
|
|
|
|
|
|
|
class ActivemqCpp < Formula
|
2014-11-02 21:51:45 +00:00
|
|
|
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"
|
|
|
|
|
2014-11-02 22:42:42 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "aa3411a43d75c8e21df2a15895ca2fefdd73d1fd" => :yosemite
|
|
|
|
sha1 "8108b14f55b2718b91d740f1cef1a2d1a19077ce" => :mavericks
|
|
|
|
sha1 "aa809055878e2d6f617debbd4a02e5e50afd04f7" => :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
|