Files
tigerbrew/Library/Formula/groovyserv.rb
T
Yasuharu NAKANO b453ef7afb groovyserv 0.11
Closes #17536.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-02 10:10:39 -08:00

23 lines
595 B
Ruby

require 'formula'
class Groovyserv < Formula
homepage 'http://kobo.github.com/groovyserv/'
url 'https://bitbucket.org/kobo/groovyserv-mirror/downloads/groovyserv-0.11-src.zip'
sha1 'a9a558c9793fbaaf32f6a4e267d5ad16d0381292'
head 'https://github.com/kobo/groovyserv.git'
def install
system './gradlew clean executables'
# Install executables in libexec to avoid conflicts
libexec.install Dir["build/executables/{bin,lib}"]
# Remove windows files
rm_f Dir["#{libexec}/bin/*.bat"]
# Symlink binaries
bin.install_symlink Dir["#{libexec}/bin/*"]
end
end