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-09-27 18:35:41 +00:00
|
|
|
sha1 'f9f939e599047d9dc7fdadacc3308c6722f3a512'
|
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
|