2009-12-18 16:32:33 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Yeti < Formula
|
2010-01-12 16:23:12 +00:00
|
|
|
url 'http://linux.ee/~mzz/yeti/yeti.jar'
|
2009-12-18 16:32:33 +00:00
|
|
|
homepage 'http://mth.github.com/yeti/'
|
2011-03-20 20:05:28 +00:00
|
|
|
md5 'bff76dd83376c8d5828c1e813c2d774a'
|
|
|
|
version '2011.03' # Yeti doesn't do any versioning that I can see, so use date
|
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
|
2010-06-30 05:02:50 +00:00
|
|
|
prefix.install "yeti.jar"
|
|
|
|
(bin+'yeti').write <<-EOS
|
2009-12-18 16:32:33 +00:00
|
|
|
#!/bin/sh
|
2010-06-30 05:02:50 +00:00
|
|
|
YETI=#{prefix}/yeti.jar
|
2009-12-18 16:32:33 +00:00
|
|
|
java -server -jar $YETI $@
|
2010-06-30 05:02:50 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|