homebrew-core/Formula/groovyserv.rb

23 lines
595 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Groovyserv < Formula
homepage 'http://kobo.github.com/groovyserv/'
url 'https://bitbucket.org/kobo/groovyserv-mirror/downloads/groovyserv-0.11-src.zip'
sha1 'a9a558c9793fbaaf32f6a4e267d5ad16d0381292'
2012-04-19 02:37:43 +00:00
head 'https://github.com/kobo/groovyserv.git'
def install
2012-02-29 00:46:40 +00:00
system './gradlew clean executables'
2012-02-12 22:12:27 +00:00
# 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
2012-02-12 22:12:27 +00:00
bin.install_symlink Dir["#{libexec}/bin/*"]
end
end