homebrew-core/Formula/tomee-webprofile.rb
Steve Krall 831e2971a8 tomee-webprofile 1.5.2
Closes Homebrew/homebrew#19340.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-23 10:21:22 -07:00

21 lines
576 B
Ruby

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