Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Axel formula
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mifix authored and mxcl committed Sep 25, 2009
1 parent 07b8bb7 commit d4aeb37
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
13 changes: 13 additions & 0 deletions 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
1 change: 1 addition & 0 deletions Library/Homebrew/ARGV+yeast.rb
Expand Up @@ -100,6 +100,7 @@ def usage
Commands useful when contributing:
log formula
create URL
edit [formula]
To visit the Homebrew homepage type:
brew home
Expand Down
6 changes: 3 additions & 3 deletions Library/Homebrew/install.rb
Expand Up @@ -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


Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bin/brew
Expand Up @@ -64,7 +64,7 @@ begin
# please improve it! :)
exec 'mate', *Dir["#{HOMEBREW_PREFIX}/Library/*"]<<
"#{HOMEBREW_PREFIX}/bin/brew"<<
"#{HOMEBREW_PREFIX}/README*"
"#{HOMEBREW_PREFIX}/README.md"
else
exec_editor *ARGV.formulae.collect {|f| f.path}
end
Expand Down

0 comments on commit d4aeb37

Please sign in to comment.