Update yeti

master
Adam Vandenberg 2010-06-29 22:02:50 -07:00
parent 26c8e45a48
commit f784170da7
1 changed files with 9 additions and 12 deletions

View File

@ -3,20 +3,17 @@ require 'formula'
class Yeti <Formula
url 'http://linux.ee/~mzz/yeti/yeti.jar'
homepage 'http://mth.github.com/yeti/'
md5 '1d30c9bbace011e2ccb1dcced64c89b2'
md5 '9be281e8b6cfe3e96f9ea95155d1dc97'
version '2010.04' # Yeti doesn't do any versioning that I can see, so use date
head 'git://github.com/mth/yeti.git'
version '082009' # Yeti doesn't do any versioning that I can see, so
# tracking this by date
JAR = 'yeti.jar'
def install
prefix.install JAR
(bin+'yeti').write(eval('"'+DATA.read+'"'))
prefix.install "yeti.jar"
(bin+'yeti').write <<-EOS
#!/bin/sh
YETI=#{prefix}/yeti.jar
java -server -jar $YETI $@
EOS
end
end
__END__
#!/bin/sh
YETI=#{prefix}/#{JAR}
java -server -jar $YETI $@