tomee-jax-rs 1.7.1

master
Carlos Chacin 2014-09-30 23:16:45 -03:00 committed by Mike McQuaid
parent b604c2e9f6
commit 58c16bbc61
1 changed files with 19 additions and 7 deletions

View File

@ -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