mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 03:19:46 -05:00
Moved Forumla and Cellar/homebrew into Library. This way the homebrew core files are more sensibly placed, Cellar is more internally consistent and only generated. And Homebrew is ready for use straight out of the tarball.
20 lines
576 B
Ruby
20 lines
576 B
Ruby
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 |