homebrew-core/Formula/activemq.rb
Dmitriy Kopylenko 2feb7b1bf0 Update Activemq to 5.4.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-20 07:58:52 -07:00

25 lines
609 B
Ruby

require 'formula'
class Activemq <Formula
url 'http://www.gossipcheck.com/mirrors/apache/activemq/apache-activemq/5.4.0/apache-activemq-5.4.0-bin.tar.gz'
homepage 'http://activemq.apache.org/'
md5 'ac68cb3fee593b6e0267679c6f8e1eff'
skip_clean 'libexec/webapps/admin/WEB-INF/jsp'
def startup_script name
<<-EOS.undent
#!/bin/bash
exec #{libexec}/bin/#{name} $@
EOS
end
def install
rm_rf Dir['bin/linux-x86-*']
prefix.install %w{ LICENSE NOTICE README.txt }
libexec.install Dir['*']
(bin+'activemq-admin').write startup_script('activemq-admin')
end
end