blob: 60c9b31fc9c00e68f6d9642b52fa6839741f2ae2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  | 
require 'formula'
class Activemq < Formula
  homepage 'http://activemq.apache.org/'
  url 'http://www.apache.org/dyn/closer.cgi?path=activemq/apache-activemq/5.8.0/apache-activemq-5.8.0-bin.tar.gz'
  sha1 '426150ee260d3ab57e9c8674944ca7d171646056'
  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
  |