tomee-plus 1.7.1

master
Carlos Chacin 2014-09-30 23:17:33 -03:00 committed by Mike McQuaid
parent 8f4bd52d7f
commit 0a485e66d1
1 changed files with 19 additions and 7 deletions

View File

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