diff options
| author | Yasuharu NAKANO | 2010-12-23 08:39:28 +0900 |
|---|---|---|
| committer | Mike McQuaid | 2011-01-08 13:58:52 +0000 |
| commit | 42bfd08ffc2d2799232afe062df0bbad16c59a0f (patch) | |
| tree | 77ab674d303ded060d2ff366b8600ed887256ee6 /Library/Formula | |
| parent | edc5f767e63aa07cbbc63f367f25710ab2ce328a (diff) | |
| download | homebrew-42bfd08ffc2d2799232afe062df0bbad16c59a0f.tar.bz2 | |
New formula: groovyserv v0.5
Closes #3730.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/groovyserv.rb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/groovyserv.rb b/Library/Formula/groovyserv.rb new file mode 100644 index 000000000..9d80d1d05 --- /dev/null +++ b/Library/Formula/groovyserv.rb @@ -0,0 +1,24 @@ +require 'formula' + +class Groovyserv <Formula + url 'https://github.com/downloads/kobo/groovyserv/groovyserv-0.5-src.zip' + md5 'aecbf09143039305d4e8cc6a843800fb' + head 'http://github.com/kobo/groovyserv.git', :using => :git + homepage 'http://kobo.github.com/groovyserv/' + + depends_on 'groovy' + + def install + system 'mvn package -Dmaven.test.skip=true' + Dir::chdir Dir['target/groovyserv-*/groovyserv-*/'].first do + prefix.install %w{LICENSE README} + libexec.install %w{bin lib} + end + + rm_f Dir["#{libexec}/bin/*.bat"] + bin.mkpath + Dir["#{libexec}/bin/*"].each do |f| + ln_s f, bin + File.basename(f) + end + end +end |
