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-02-22 19:57:11 +00:00
|
|
|
md5 '4b1ef8dfa760224c061c3b0b98b2ea8c'
|
|
|
|
version '2011.02' # Yeti doesn't do any versioning that I can see, so use date
|
2010-06-30 05:02:50 +00:00
|
|
|
|
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
|