diff options
| author | Carlos Chacin | 2014-09-30 23:17:48 -0300 | 
|---|---|---|
| committer | Mike McQuaid | 2014-10-01 23:29:08 -0700 | 
| commit | 05f8b8758a106887c4da19ce616ae74845dab457 (patch) | |
| tree | 25398b3ae41352c2eac2e7b82ae23f2fee138e04 | |
| parent | cc5b8e7c7b00cd1da23b5daebb8ae2ea39d1ad1e (diff) | |
| download | homebrew-05f8b8758a106887c4da19ce616ae74845dab457.tar.bz2 | |
tomee-plume 1.7.1 (new formula)
Closes #32813.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
| -rw-r--r-- | Library/Formula/tomee-plume.rb | 30 | 
1 files changed, 30 insertions, 0 deletions
diff --git a/Library/Formula/tomee-plume.rb b/Library/Formula/tomee-plume.rb new file mode 100644 index 000000000..fb5a02c07 --- /dev/null +++ b/Library/Formula/tomee-plume.rb @@ -0,0 +1,30 @@ +require "formula" + +class TomeePlume < Formula +  homepage "http://tomee.apache.org/" +  url "http://www.apache.org/dyn/closer.cgi?path=tomee/tomee-1.7.1/apache-tomee-1.7.1-plume.tar.gz" +  version "1.7.1" +  sha1 "b27386dd16df4cc936283dd3739012a5eed3224a" + +  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/startup.sh" => "tomee-plume-startup" +  end + +  def caveats; <<-EOS.undent +    The home of Apache TomEE Plume is: +      #{opt_libexec} +    To run Apache TomEE: +      #{opt_libexec}/bin/tomee-plume-startup +    EOS +  end + +  test do +    system "#{opt_libexec}/bin/configtest.sh" +  end +end  | 
