diff options
| author | Adam Vandenberg | 2010-07-09 15:34:49 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-09 15:34:49 -0700 |
| commit | 77dfdd663d202bdc5de82190f83dab0e28c38c62 (patch) | |
| tree | 2149e79509103a1656825f93147b2e17d02701fd /Library | |
| parent | 91b6834dd4d081967847d6b03128cf673858cd44 (diff) | |
| download | homebrew-77dfdd663d202bdc5de82190f83dab0e28c38c62.tar.bz2 | |
ActiveMQ 5.3.2
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/activemq.rb | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/Library/Formula/activemq.rb b/Library/Formula/activemq.rb index 9f6519017..a18ea8a20 100644 --- a/Library/Formula/activemq.rb +++ b/Library/Formula/activemq.rb @@ -1,37 +1,31 @@ require 'formula' class Activemq <Formula - url 'http://www.gossipcheck.com/mirrors/apache/activemq/apache-activemq/5.3.1/apache-activemq-5.3.1-bin.tar.gz' + url 'http://www.gossipcheck.com/mirrors/apache/activemq/apache-activemq/5.3.2/apache-activemq-5.3.2-bin.tar.gz' homepage 'http://activemq.apache.org/' - md5 '6c75db75987bfab40724d41f6a6373c7' - + md5 '17574ad1ee6cc3727bf7447c2421097b' + aka 'apache-activemq' - + def skip_clean? path path == libexec + 'webapps/admin/WEB-INF/jsp' end - + def startup_script <<-EOS.undent - #!/usr/bin/env bash - # This is a startup script for Apache ActiveMQ that calls the - # real startup script installed to Homebrew's cellar. - - cd #{libexec} - bin/activemq + #!/usr/bin/env bash + exec #{libexec}/bin/activemq EOS end def install - rm_rf 'bin/linux-x86-32' - rm_rf 'bin/linux-x86-64' - + rm_rf Dir['bin/linux-x86-*'] + prefix.install %w{ LICENSE NOTICE README.txt } libexec.install Dir['*'] - (bin+'activemq').write startup_script end - + def caveats <<-EOS.undent ActiveMQ was installed to: |
