homebrew-core/Formula/yeti.rb

20 lines
438 B
Ruby
Raw Normal View History

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'
homepage 'http://mth.github.com/yeti/'
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'
def install
2010-06-30 05:02:50 +00:00
prefix.install "yeti.jar"
(bin+'yeti').write <<-EOS
#!/bin/sh
2010-06-30 05:02:50 +00:00
YETI=#{prefix}/yeti.jar
java -server -jar $YETI $@
2010-06-30 05:02:50 +00:00
EOS
end
end