2009-12-11 16:13:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Hub <Formula
|
2010-01-24 00:17:11 +00:00
|
|
|
head 'git://github.com/defunkt/hub.git', :tag => 'v0.3.0'
|
2009-12-11 16:13:57 +00:00
|
|
|
homepage 'http://github.com/defunkt/hub'
|
|
|
|
|
|
|
|
def initialize(*args)
|
|
|
|
super
|
|
|
|
|
|
|
|
# Force version instead of HEAD
|
2010-01-24 00:17:11 +00:00
|
|
|
@version = '0.3.0'
|
2009-12-11 16:13:57 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
2010-01-24 13:23:50 +00:00
|
|
|
system "rake", "install", "prefix=#{prefix}"
|
2009-12-11 16:13:57 +00:00
|
|
|
end
|
|
|
|
end
|