tomee-webprofile 1.5.2

Closes Homebrew/homebrew#19340.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Steve Krall 2013-04-21 12:43:50 -04:00 committed by Adam Vandenberg
parent 14b1540da7
commit 831e2971a8
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
require 'formula'
class TomeeWebprofile < Formula
homepage 'http://tomee.apache.org/'
url 'http://www.apache.org/dyn/closer.cgi?path=tomee/tomee-1.5.2/apache-tomee-1.5.2-webprofile.tar.gz'
version '1.5.2'
sha1 '04973507937ab01c78263ff0209851c4cc30cea6'
# 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/tomee.sh" => "tomee-webprofile"
end
end