homebrew-core/Formula/yeti.rb

21 lines
431 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Yeti < Formula
homepage 'http://mth.github.com/yeti/'
url 'https://github.com/mth/yeti/tarball/v0.9.7'
sha1 'cf94e3165397cfdf1b9cf348d414af4e17cbcb34'
2010-06-30 05:02:50 +00:00
2011-05-27 05:02:55 +00:00
head 'https://github.com/mth/yeti.git'
def install
system "ant jar"
2010-06-30 05:02:50 +00:00
prefix.install "yeti.jar"
(bin+'yeti').write <<-EOS.undent
#!/bin/sh
YETI=#{prefix}/yeti.jar
java -server -jar "$YETI" "$@"
EOS
2010-06-30 05:02:50 +00:00
end
end