homebrew-core/Formula/yeti.rb
Adam Vandenberg a18f78dba8 Yeti 0.94
* Quote args in wrapper script
* Use a stable download
* Build jar from source; first Java app we've added a build step for
2012-02-09 18:52:52 -08:00

20 lines
422 B
Ruby

require 'formula'
class Yeti < Formula
homepage 'http://mth.github.com/yeti/'
url 'https://github.com/mth/yeti/tarball/v0.9.4'
md5 'f84448ae15e2b0064f4fc8f24d492b64'
head 'https://github.com/mth/yeti.git'
def install
system "ant jar"
prefix.install "yeti.jar"
(bin+'yeti').write <<-EOS.undent
#!/bin/sh
YETI=#{prefix}/yeti.jar
java -server -jar "$YETI" "$@"
EOS
end
end