2009-12-18 16:32:33 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
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/'
|
2010-06-30 05:02:50 +00:00
|
|
|
md5 '9be281e8b6cfe3e96f9ea95155d1dc97'
|
|
|
|
version '2010.04' # Yeti doesn't do any versioning that I can see, so use date
|
|
|
|
|
2009-12-18 16:32:33 +00:00
|
|
|
head 'git://github.com/mth/yeti.git'
|
|
|
|
|
|
|
|
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
|