diff options
| author | Christian Mayer | 2009-09-25 14:25:09 +0200 |
|---|---|---|
| committer | Max Howell | 2009-09-25 15:31:55 +0100 |
| commit | d4aeb37caa21ede52c6aad90a12cbdcae5dc35c0 (patch) | |
| tree | 0d7713955f7e7a41f46e92e5a54abd483caa1a83 /Library | |
| parent | 07b8bb7cc5d5d8ff13450c354d80a3194eb5fd7a (diff) | |
| download | homebrew-d4aeb37caa21ede52c6aad90a12cbdcae5dc35c0.tar.bz2 | |
Axel formula
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.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/axel.rb | 13 | ||||
| -rw-r--r-- | Library/Homebrew/ARGV+yeast.rb | 1 | ||||
| -rwxr-xr-x | Library/Homebrew/install.rb | 6 |
3 files changed, 17 insertions, 3 deletions
diff --git a/Library/Formula/axel.rb b/Library/Formula/axel.rb new file mode 100644 index 000000000..c58a8e956 --- /dev/null +++ b/Library/Formula/axel.rb @@ -0,0 +1,13 @@ +require 'brewkit' + +class Axel <Formula + url 'http://alioth.debian.org/frs/download.php/3016/axel-2.4.tar.bz2' + homepage 'http://freshmeat.net/projects/axel/' + md5 '5fd72e67a682d20874b9f6d073201c6a' + + def install + system "./configure", "--prefix=#{prefix}", "--debug=0", "--i18n=0" + system "make" + system "make install" + end +end diff --git a/Library/Homebrew/ARGV+yeast.rb b/Library/Homebrew/ARGV+yeast.rb index 02c35e5a1..0f104f1df 100644 --- a/Library/Homebrew/ARGV+yeast.rb +++ b/Library/Homebrew/ARGV+yeast.rb @@ -100,6 +100,7 @@ Commands: Commands useful when contributing: log formula create URL + edit [formula] To visit the Homebrew homepage type: brew home diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 008d5663c..fb50e2271 100755 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -11,14 +11,14 @@ def text_for_keg_only_formula f #{f.name} is keg-only. This means it is not symlinked into Homebrew's prefix. The formula provides the following rationale: -#{f.keg_only?} +#{f.keg_only?.chomp} Generally there are no consequences of this for you, however if you build your own software and it requires this formula, you may want to run this command to link it into the Homebrew prefix: brew link #{f.name} - EOS +EOS end @@ -105,7 +105,7 @@ def install f end if f.keg_only? - ohai 'Caveats', text_for_keg_only_formula(f).chomp + ohai 'Caveats', text_for_keg_only_formula(f) show_summary_heading = true else begin |
