2009-06-04 18:21:19 +00:00
|
|
|
require 'brewkit'
|
|
|
|
|
2009-06-05 22:39:56 +00:00
|
|
|
class GitManuals <UnidentifiedFormula
|
2009-06-04 18:21:19 +00:00
|
|
|
@url='http://kernel.org/pub/software/scm/git/git-manpages-1.6.3.1.tar.bz2'
|
|
|
|
@md5='971d573e8f261feb83290a59728c2b33'
|
|
|
|
end
|
|
|
|
|
|
|
|
class Git <Formula
|
|
|
|
@url='http://kernel.org/pub/software/scm/git/git-1.6.3.1.tar.bz2'
|
|
|
|
@md5='c1f4aab741359c29f0fbf28563ac7387'
|
|
|
|
@homepage='http://git-scm.com'
|
|
|
|
|
|
|
|
def install
|
|
|
|
# the manuals come separately, well sort of, it's easier this way though
|
2009-07-09 23:36:59 +00:00
|
|
|
man.mkpath
|
2009-06-04 18:21:19 +00:00
|
|
|
GitManuals.new.brew { FileUtils.mv Dir['*'], man }
|
|
|
|
|
|
|
|
system "./configure --prefix='#{prefix}' --disable-debug"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|