aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSteve Krall2013-04-21 12:43:50 -0400
committerAdam Vandenberg2013-06-23 10:21:22 -0700
commitbc2e06d988728f0ee3e40607de8d66414bfde09a (patch)
tree0b2a7e1565a1840c2bd2c5665cd0de2f6968eca2 /Library
parentf75af7cfeb2200b1cdba29d65e5a07d149d287ba (diff)
downloadhomebrew-bc2e06d988728f0ee3e40607de8d66414bfde09a.tar.bz2
tomee-webprofile 1.5.2
Closes #19340. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/tomee-webprofile.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/tomee-webprofile.rb b/Library/Formula/tomee-webprofile.rb
new file mode 100644
index 000000000..8ba47de46
--- /dev/null
+++ b/Library/Formula/tomee-webprofile.rb
@@ -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