2009-12-18 16:32:33 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Yeti < Formula
|
2009-12-18 16:32:33 +00:00
|
|
|
homepage 'http://mth.github.com/yeti/'
|
2012-07-28 21:05:11 +00:00
|
|
|
url 'https://github.com/mth/yeti/tarball/v0.9.6'
|
|
|
|
sha1 'f10d17d9235740cee1f7c37711d9979f84a9e078'
|
2010-06-30 05:02:50 +00:00
|
|
|
|
2011-05-27 05:02:55 +00:00
|
|
|
head 'https://github.com/mth/yeti.git'
|
2009-12-18 16:32:33 +00:00
|
|
|
|
|
|
|
def install
|
2012-02-10 02:51:51 +00:00
|
|
|
system "ant jar"
|
|
|
|
|
2010-06-30 05:02:50 +00:00
|
|
|
prefix.install "yeti.jar"
|
2012-02-10 02:51:51 +00:00
|
|
|
(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
|