Browse files

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.
  • Loading branch information...
1 parent 07b8bb7 commit d4aeb37caa21ede52c6aad90a12cbdcae5dc35c0 @mifix mifix committed with mxcl Sep 25, 2009
Showing with 18 additions and 4 deletions.
  1. +13 −0 Library/Formula/axel.rb
  2. +1 −0 Library/Homebrew/ARGV+yeast.rb
  3. +3 −3 Library/Homebrew/install.rb
  4. +1 −1 bin/brew
View
13 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
View
1 Library/Homebrew/ARGV+yeast.rb
@@ -100,6 +100,7 @@ def usage
Commands useful when contributing:
log formula
create URL
+ edit [formula]
To visit the Homebrew homepage type:
brew home
View
6 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
View
2 bin/brew
@@ -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

0 comments on commit d4aeb37

Please sign in to comment.