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