diff options
| author | Martin Funk | 2014-03-03 17:36:19 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2014-03-04 20:08:06 -0800 |
| commit | ce52f3440d75798d624809a427a5106e2d2fb839 (patch) | |
| tree | 75157661262d46f3b5291baad14a572489303a43 /Library/Formula | |
| parent | 9f19bb88bbbc98e595c01ef043496405c1522fcb (diff) | |
| download | homebrew-ce52f3440d75798d624809a427a5106e2d2fb839.tar.bz2 | |
apache tomee jax-rs 1.6.0 apache tomee plus 1.6.0
Closes #27158.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/tomee-jax-rs.rb | 21 | ||||
| -rw-r--r-- | Library/Formula/tomee-plus.rb | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/Library/Formula/tomee-jax-rs.rb b/Library/Formula/tomee-jax-rs.rb new file mode 100644 index 000000000..0c80e52cc --- /dev/null +++ b/Library/Formula/tomee-jax-rs.rb @@ -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 diff --git a/Library/Formula/tomee-plus.rb b/Library/Formula/tomee-plus.rb new file mode 100644 index 000000000..b7fd0c27c --- /dev/null +++ b/Library/Formula/tomee-plus.rb @@ -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 |
