2014-07-20 21:33:12 +00:00
|
|
|
require "formula"
|
2009-09-30 08:40:47 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Activemq < Formula
|
2014-07-20 21:33:12 +00:00
|
|
|
homepage "http://activemq.apache.org/"
|
|
|
|
url "http://www.apache.org/dyn/closer.cgi?path=/activemq/5.10.0/apache-activemq-5.10.0-bin.tar.gz"
|
|
|
|
sha1 "e08179216b4c7cbcd2024716c62c51434481fabf"
|
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-*"]
|
2010-07-09 22:34:49 +00:00
|
|
|
|
2012-11-11 19:20:09 +00:00
|
|
|
prefix.install_metafiles
|
2014-07-20 21:33:12 +00:00
|
|
|
libexec.install Dir["*"]
|
2009-09-30 08:40:47 +00:00
|
|
|
|
2014-07-20 21:33:12 +00:00
|
|
|
bin.write_exec_script libexec/"bin/activemq"
|
|
|
|
bin.write_exec_script libexec/"bin/activemq-admin"
|
2009-09-30 08:40:47 +00:00
|
|
|
end
|
|
|
|
end
|