diff options
| author | Carlos Chacin | 2014-09-30 23:17:33 -0300 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-01 23:29:03 -0700 |
| commit | cc5b8e7c7b00cd1da23b5daebb8ae2ea39d1ad1e (patch) | |
| tree | 19f08cc345388591e9777d485de2dc7b6a2abd38 /Library/Formula | |
| parent | 27bed05183d826917dd34536f07295299e797d87 (diff) | |
| download | homebrew-cc5b8e7c7b00cd1da23b5daebb8ae2ea39d1ad1e.tar.bz2 | |
tomee-plus 1.7.1
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/tomee-plus.rb | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/Library/Formula/tomee-plus.rb b/Library/Formula/tomee-plus.rb index c2ee9245b..1d86c08cd 100644 --- a/Library/Formula/tomee-plus.rb +++ b/Library/Formula/tomee-plus.rb @@ -1,18 +1,30 @@ -require 'formula' +require "formula" class TomeePlus < Formula - homepage 'http://tomee.apache.org/' - url 'http://www.apache.org/dyn/closer.cgi?path=tomee/tomee-1.6.0.2/apache-tomee-1.6.0.2-plus.tar.gz' - version '1.6.0.2' - sha1 '11b605f2da94fbc2bc571e62578c1599c2a4a789' + homepage "http://tomee.apache.org/" + url "http://www.apache.org/dyn/closer.cgi?path=tomee/tomee-1.7.1/apache-tomee-1.7.1-plus.tar.gz" + version "1.7.1" + sha1 "c957652b205ec2395dfc30004e88088d4fb41aa5" def install # Remove Windows scripts - rm_rf Dir['bin/*.bat'] + rm_rf Dir["bin/*.bat"] # Install files prefix.install %w{ NOTICE LICENSE RELEASE-NOTES RUNNING.txt } - libexec.install Dir['*'] + libexec.install Dir["*"] bin.install_symlink "#{libexec}/bin/startup.sh" => "tomee-plus-startup" end + + def caveats; <<-EOS.undent + The home of Apache TomEE Plus is: + #{opt_libexec} + To run Apache TomEE: + #{opt_libexec}/bin/tomee-plus-startup + EOS + end + + test do + system "#{opt_libexec}/bin/configtest.sh" + end end |
