diff options
Diffstat (limited to 'Library/Formula/git.rb')
| -rw-r--r-- | Library/Formula/git.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb new file mode 100644 index 000000000..56cf84e95 --- /dev/null +++ b/Library/Formula/git.rb @@ -0,0 +1,20 @@ +require 'brewkit' + +class GitManuals <Formula + @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 + GitManuals.new.brew { FileUtils.mv Dir['*'], man } + + system "./configure --prefix='#{prefix}' --disable-debug" + system "make install" + end +end
\ No newline at end of file |
