homebrew-core/Formula/tomee-plus.rb
Martin Funk 1696d2b4a2 tomee-plus 1.6.0.1
Symlink a different script in 'bin' as a startupscript for the server.
2014-05-02 07:20:18 -07:00

21 lines
574 B
Ruby

require 'formula'
class TomeePlus < Formula
homepage 'http://tomee.apache.org/'
url 'http://www.apache.org/dyn/closer.cgi?path=tomee/tomee-1.6.0.1/apache-tomee-1.6.0.1-plus.tar.gz'
version '1.6.0.1'
sha1 'a9d47bb3eff81440586ec26613c11a2e164c6d04'
# Keep log folders
skip_clean 'libexec'
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-plus-startup"
end
end