apache tomee jax-rs 1.6.0 apache tomee plus 1.6.0
Closes Homebrew/homebrew#27158. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
a9efb1151c
commit
772a189fbc
2 changed files with 42 additions and 0 deletions
21
Formula/tomee-jax-rs.rb
Normal file
21
Formula/tomee-jax-rs.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
require 'formula'
|
||||
|
||||
class TomeeJaxRs < Formula
|
||||
homepage 'http://tomee.apache.org/'
|
||||
url 'http://www.apache.org/dyn/closer.cgi?path=tomee/tomee-1.6.0/apache-tomee-1.6.0-jaxrs.tar.gz'
|
||||
version '1.6.0'
|
||||
sha1 '1db7d705012f891e9ba7d6487be4fe93ea794ffb'
|
||||
|
||||
# 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-jax-rs"
|
||||
end
|
||||
end
|
21
Formula/tomee-plus.rb
Normal file
21
Formula/tomee-plus.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
require 'formula'
|
||||
|
||||
class TomeePlus < Formula
|
||||
homepage 'http://tomee.apache.org/'
|
||||
url 'http://www.apache.org/dyn/closer.cgi?path=tomee/tomee-1.6.0/apache-tomee-1.6.0-plus.tar.gz'
|
||||
version '1.6.0'
|
||||
sha1 'f6751c837c7dc7e60b72ea84b1f425f71d79b926'
|
||||
|
||||
# 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-plus"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue