aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Chacin2014-09-30 23:16:45 -0300
committerMike McQuaid2014-10-01 23:28:49 -0700
commit1511558b6c624279169afbc7228f8e76747d25e0 (patch)
tree72813c6c9d949d38324563ab9b7c1d9d3c6f5118
parentb1d88a94b04c697106231bf27271604ac811f6cb (diff)
downloadhomebrew-1511558b6c624279169afbc7228f8e76747d25e0.tar.bz2
tomee-jax-rs 1.7.1
-rw-r--r--Library/Formula/tomee-jax-rs.rb26
1 files changed, 19 insertions, 7 deletions
diff --git a/Library/Formula/tomee-jax-rs.rb b/Library/Formula/tomee-jax-rs.rb
index 23c316f20..5e234d053 100644
--- a/Library/Formula/tomee-jax-rs.rb
+++ b/Library/Formula/tomee-jax-rs.rb
@@ -1,18 +1,30 @@
-require 'formula'
+require "formula"
class TomeeJaxRs < 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-jaxrs.tar.gz'
- version '1.6.0.2'
- sha1 '53e438f72edb455f4d01464d2e00855fa055ad6b'
+ homepage "http://tomee.apache.org/"
+ url "http://www.apache.org/dyn/closer.cgi?path=tomee/tomee-1.7.1/apache-tomee-1.7.1-jaxrs.tar.gz"
+ version "1.7.1"
+ sha1 "5abce8176d034fefc19eb6c81fd5d64bc888d0a9"
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-jax-rs-startup"
end
+
+ def caveats; <<-EOS.undent
+ The home of Apache TomEE JAX-RS is:
+ #{opt_libexec}
+ To run Apache TomEE:
+ #{opt_libexec}/bin/tomee-jax-rs-startup
+ EOS
+ end
+
+ test do
+ system "#{opt_libexec}/bin/configtest.sh"
+ end
end