2011-01-16 12:46:22 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Redo < Formula
|
2011-01-16 12:46:22 +00:00
|
|
|
homepage 'https://github.com/apenwarr/redo'
|
2013-06-08 23:52:07 +00:00
|
|
|
url 'https://github.com/apenwarr/redo/archive/redo-0.11.tar.gz'
|
2013-03-29 20:29:20 +00:00
|
|
|
sha1 '8b26d7c694b91a85d3f252e4ad85ca740ff0babd'
|
2011-01-16 12:46:22 +00:00
|
|
|
|
2013-06-08 23:52:07 +00:00
|
|
|
resource 'docs' do
|
|
|
|
url 'https://github.com/apenwarr/redo.git', :branch => 'man'
|
|
|
|
end
|
|
|
|
|
2011-01-16 12:46:22 +00:00
|
|
|
def install
|
|
|
|
ENV['PREFIX'] = prefix
|
|
|
|
system "./redo install"
|
2013-06-08 23:52:07 +00:00
|
|
|
rm share/'doc/redo/README.md' # lets not have two copies
|
|
|
|
man1.install resource('docs')
|
2011-01-16 12:46:22 +00:00
|
|
|
end
|
|
|
|
end
|