mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 11:29:53 -05:00
18 lines
501 B
Ruby
18 lines
501 B
Ruby
require 'formula'
|
|
|
|
class Tomcat < Formula
|
|
homepage 'http://tomcat.apache.org/'
|
|
url 'http://www.apache.org/dyn/closer.cgi?path=tomcat/tomcat-7/v7.0.37/bin/apache-tomcat-7.0.37.tar.gz'
|
|
sha1 'c720975d6ebefa071eb94fdb27f13f53e8884811'
|
|
|
|
def install
|
|
# Remove Windows scripts
|
|
rm_rf Dir['bin/*.bat']
|
|
|
|
# Install files
|
|
prefix.install %w{ NOTICE LICENSE RELEASE-NOTES RUNNING.txt }
|
|
libexec.install Dir['*']
|
|
bin.install_symlink "#{libexec}/bin/catalina.sh" => "catalina"
|
|
end
|
|
end
|