aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorHideki IGARASHI2013-07-28 16:15:32 +0900
committerAdam Vandenberg2013-07-30 09:10:09 -0700
commitac4cb597e334ba301a7d1d2c2a93701d6b4fea0b (patch)
tree123de17291582a0574c98c595574fe35515ed575 /Library
parent91e973b0d202e4c848f0296fafb3e8837a18ee87 (diff)
downloadhomebrew-ac4cb597e334ba301a7d1d2c2a93701d6b4fea0b.tar.bz2
GroovyServ 0.13
Closes #21491. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/groovyserv.rb15
1 files changed, 10 insertions, 5 deletions
diff --git a/Library/Formula/groovyserv.rb b/Library/Formula/groovyserv.rb
index b4172ee21..417b9c091 100644
--- a/Library/Formula/groovyserv.rb
+++ b/Library/Formula/groovyserv.rb
@@ -2,21 +2,26 @@ require 'formula'
class Groovyserv < Formula
homepage 'http://kobo.github.io/groovyserv/'
- url 'https://bitbucket.org/kobo/groovyserv-mirror/downloads/groovyserv-0.12-src.zip'
- sha1 '13d28359d19cdbf380ac45a4c4aeb62af317bd3e'
+ url 'https://bitbucket.org/kobo/groovyserv-mirror/downloads/groovyserv-0.13-src.zip'
+ sha1 '68e4d80b8309b71849d46590d9122a5fee2d36c3'
head 'https://github.com/kobo/groovyserv.git'
+ # This fix is upstream and can be removed in the next released version.
+ def patches
+ "https://github.com/kobo/groovyserv/commit/53b77ab2b4a7bcf6e232bc54f4e50e8b78d3006a.patch"
+ end
+
def install
system './gradlew clean executables'
# Install executables in libexec to avoid conflicts
- libexec.install Dir["build/executables/{bin,lib}"]
+ libexec.install Dir["build/executables/native/{bin,lib}"]
# Remove windows files
rm_f Dir["#{libexec}/bin/*.bat"]
- # Symlink binaries
- bin.install_symlink Dir["#{libexec}/bin/*"]
+ # Symlink binaries except _common.sh
+ bin.install_symlink Dir["#{libexec}/bin/g*"]
end
end