2011-03-10 05:11:03 +00:00
|
|
|
class Activemq < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Apache ActiveMQ: powerful open source messaging server"
|
2015-03-24 23:37:09 +00:00
|
|
|
homepage "https://activemq.apache.org/"
|
|
|
|
url "https://www.apache.org/dyn/closer.cgi?path=/activemq/5.11.1/apache-activemq-5.11.1-bin.tar.gz"
|
|
|
|
sha256 "5ae90f4ea6caa3af7d9f79d1cc55b575dd44170b1451f096494e1a356828d35f"
|
2015-02-23 10:47:08 +00:00
|
|
|
|
|
|
|
depends_on :java => "1.6+"
|
2010-07-09 22:34:49 +00:00
|
|
|
|
2009-09-30 08:40:47 +00:00
|
|
|
def install
|
2014-07-20 21:33:12 +00:00
|
|
|
rm_rf Dir["bin/linux-x86-*"]
|
|
|
|
libexec.install Dir["*"]
|
2015-02-26 14:36:04 +00:00
|
|
|
(bin/"activemq").write_env_script libexec/"bin/activemq", Language::Java.java_home_env("1.6+")
|
|
|
|
(bin/"activemq-admin").write_env_script libexec/"bin/activemq-admin", Language::Java.java_home_env("1.6+")
|
2009-09-30 08:40:47 +00:00
|
|
|
end
|
2015-02-23 10:47:08 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/activemq-admin", "browse", "-h"
|
|
|
|
end
|
2009-09-30 08:40:47 +00:00
|
|
|
end
|