aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/install.rb
AgeCommit message (Collapse)Author
2009-09-30brew list lists root keg files if not README, etc.Max Howell
2009-09-30Allow returning true from keg_only?Max Howell
2009-09-25Axel formulaChristian Mayer
Axel tries to accelerate downloads by using multiple connections (possibly to multiple servers) for one download. Because of its size, it might be very useful on bootdisks or other small systems as a wget replacement.
2009-09-21Automatically add keg_only? deps to relevent ENVMax Howell
Eg gettext gets added into LDFLAGS, INCLUDE and that. I hope I got everything that is typical. Prolly not. But we'll find out. Made readline keg_only because the BSD version is provided by OS X, and I don't want bug reports that are tricky to solve due to unexpected differences between the two.
2009-09-17Solving the GNU GetText issuesMax Howell
GNU GetText breaks eg. Ruby 1.9 builds, and some other formula I have been building too. But it is required by eg. glib. So to solve this we are going to by default not symlink gettext into the Homebrew prefix. Formula that depend on GetText will have the gettext paths added to the brewing environment automatically. Neat.
2009-09-17Prettier install outputMax Howell
This way caveats and other warnings/errors don't appear connected to the Summary text.
2009-09-17Warning for bin dirs not in the PATHMax Howell
Eg. sbin may be part of the formula, but that isn't in the default Mac PATH. Also will avoid bug reports for users who forget to amend their PATH and stick Homebrew somewhere different.
2009-09-16Allow formulae to use __END__Max Howell
For this to work the "running script" must be the formulae file. Making this so wasn't so hard, there is now an install.rb script which is included with the -r flag to the ruby executable. An at_exit handler calls the install function. Having the install logic in its own file made it feel like there was so much space that I added extra error handling. So there is something to be said for separating functionality out into its own files. Still the error handling sucks, we'll need to marshall the exception back to the bin/brew command. Which is another PITA. Still overall I think this will prove worthwhile. But if it doesn't we'll revert. As a first usage, you can put a diff after __END__ and return DATA from Formula::patches to make Homebrew aware of it.