From 54de56568511e928612ae32100a3f27db22af39f Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Mon, 23 Feb 2015 11:47:08 +0100 Subject: activemq 5.11.1 Closes #37103. Signed-off-by: Mike McQuaid --- Library/Formula/activemq.rb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/activemq.rb b/Library/Formula/activemq.rb index fd4e21399..c212752e4 100644 --- a/Library/Formula/activemq.rb +++ b/Library/Formula/activemq.rb @@ -1,9 +1,9 @@ -require "formula" - class Activemq < Formula homepage "http://activemq.apache.org/" - url "http://www.apache.org/dyn/closer.cgi?path=/activemq/5.10.2/apache-activemq-5.10.2-bin.tar.gz" - sha1 "7b5d797abf6d6767d2f5a17935d8cac829d230cd" + url "http://www.apache.org/dyn/closer.cgi?path=/activemq/5.11.1/apache-activemq-5.11.1-bin.tar.gz" + sha1 "db4310f037af4a430abfdddf18c2df4082a34340" + + depends_on :java => "1.6+" def install rm_rf Dir["bin/linux-x86-*"] @@ -14,4 +14,9 @@ class Activemq < Formula bin.write_exec_script libexec/"bin/activemq" bin.write_exec_script libexec/"bin/activemq-admin" end + + test do + ENV["JAVA_HOME"] = `/usr/libexec/java_home`.chomp + system "#{bin}/activemq-admin", "browse", "-h" + end end -- cgit v1.2.3