aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominyk Tiller2014-11-02 21:51:45 +0000
committerTim D. Smith2014-11-02 18:08:19 -0800
commit2f0c501b4917552d8e5d1f41a926fb12926ed657 (patch)
tree7c8fc183830718d57343bdba9defe92c7fdb4a75
parentf8d763e1005e07a269689389f5d98f617fbe882e (diff)
downloadhomebrew-2f0c501b4917552d8e5d1f41a926fb12926ed657.tar.bz2
activemq-cpp 3.8.3
Version bump, additional OpenSSL dependency, and simple test. Note, this will fail to install on at least 10.10 from source unless you have the CLT package installed due to our old friend apr-1. Bottling should solve that issue for most people though. Closes #33834. Signed-off-by: Tim D. Smith <git@tim-smith.us>
-rw-r--r--Library/Formula/activemq-cpp.rb15
1 files changed, 11 insertions, 4 deletions
diff --git a/Library/Formula/activemq-cpp.rb b/Library/Formula/activemq-cpp.rb
index be230004d..d713386fb 100644
--- a/Library/Formula/activemq-cpp.rb
+++ b/Library/Formula/activemq-cpp.rb
@@ -1,13 +1,20 @@
require "formula"
class ActivemqCpp < Formula
- homepage "http://activemq.apache.org/cms/index.html"
- url "http://www.apache.org/dyn/closer.cgi?path=activemq/activemq-cpp/3.8.2/activemq-cpp-library-3.8.2-src.tar.bz2"
- sha1 "6fcaeb278f2d359343ccef4b5814f0092a4d7b54"
+ 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"
+
+ depends_on "pkg-config" => :build
+ depends_on "openssl"
def install
system "./configure", "--prefix=#{prefix}"
system "make"
- system "make install"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/activemqcpp-config", "--version"
end
end