Skip to content

Commit

Permalink
tomcat 6.0.32
Browse files Browse the repository at this point in the history
Closes #62.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
pmarschik authored and jacknagel committed Sep 28, 2011
1 parent d7dad13 commit b952391
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions versions/tomcat6.rb
@@ -0,0 +1,32 @@
require 'formula'

class Tomcat6 < Formula
url 'http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.tar.gz'
homepage 'http://tomcat.apache.org/'
md5 '928a960268adf610a7d6fe5c4fcd0b20'

skip_clean :all

keg_only "Some scripts that are installed conflict with other software."

def install
rm_rf Dir['bin/*.{cmd,bat]}']
libexec.install Dir['*']
(libexec+'logs').mkpath
bin.mkpath
Dir["#{libexec}/bin/*.sh"].each { |f| ln_s f, bin }
end

def caveats; <<-EOS.undent
Some of the support scripts used by Tomcat have very generic names.
These are likely to conflict with support scripts used by other Java-based
server software.
You can link Tomcat into PATH with:
brew link tomcat6
or add #{bin} to your PATH instead.
EOS
end
end

0 comments on commit b952391

Please sign in to comment.