homebrew-core/Formula/activemq.rb

20 lines
521 B
Ruby

require 'formula'
class Activemq < Formula
homepage 'http://activemq.apache.org/'
url 'http://www.apache.org/dyn/closer.cgi?path=activemq/apache-activemq/5.9.0/apache-activemq-5.9.0-bin.tar.gz'
sha1 'f82be4b8fcac37ad0e5598db7f62083806e85d85'
skip_clean 'libexec/webapps/admin/WEB-INF/jsp'
def install
rm_rf Dir['bin/linux-x86-*']
prefix.install_metafiles
libexec.install Dir['*']
bin.write_exec_script libexec/'bin/activemq'
bin.write_exec_script libexec/'bin/activemq-admin'
end
end