Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: fa3877652d
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (20 sloc) 0.677 kB
require 'formula'
class Activemq < Formula
homepage 'http://activemq.apache.org/'
url 'http://www.apache.org/dyn/closer.cgi?path=activemq/apache-activemq/5.6.0/apache-activemq-5.6.0-bin.tar.gz'
sha1 '3205f5fcd61cf8bc7122b2f65ce22f68b2ab487a'
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')
(bin+'activemq').write startup_script('activemq')
end
end
Jump to Line
Something went wrong with that request. Please try again.