Skip to content
This repository
Browse code

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...
commit d4aeb37caa21ede52c6aad90a12cbdcae5dc35c0 1 parent 07b8bb7
Christian Mayer authored September 25, 2009 mxcl committed September 25, 2009
13  Library/Formula/axel.rb
... ...
@@ -0,0 +1,13 @@
  1
+require 'brewkit'
  2
+
  3
+class Axel <Formula
  4
+  url 'http://alioth.debian.org/frs/download.php/3016/axel-2.4.tar.bz2'
  5
+  homepage 'http://freshmeat.net/projects/axel/'
  6
+  md5 '5fd72e67a682d20874b9f6d073201c6a'
  7
+
  8
+  def install
  9
+    system "./configure", "--prefix=#{prefix}", "--debug=0", "--i18n=0"
  10
+    system "make"
  11
+    system "make install"
  12
+  end
  13
+end
1  Library/Homebrew/ARGV+yeast.rb
@@ -100,6 +100,7 @@ def usage
100 100
 Commands useful when contributing:
101 101
   log formula
102 102
   create URL
  103
+  edit [formula]
103 104
 
104 105
 To visit the Homebrew homepage type:
105 106
   brew home
6  Library/Homebrew/install.rb
@@ -11,14 +11,14 @@ def text_for_keg_only_formula f
11 11
 #{f.name} is keg-only. This means it is not symlinked into Homebrew's
12 12
 prefix. The formula provides the following rationale:
13 13
 
14  
-#{f.keg_only?}
  14
+#{f.keg_only?.chomp}
15 15
 
16 16
 Generally there are no consequences of this for you, however if you build your
17 17
 own software and it requires this formula, you may want to run this command to
18 18
 link it into the Homebrew prefix:
19 19
 
20 20
      brew link #{f.name}
21  
-  EOS
  21
+EOS
22 22
 end
23 23
 
24 24
 
@@ -105,7 +105,7 @@ def install f
105 105
   end
106 106
 
107 107
   if f.keg_only?
108  
-    ohai 'Caveats', text_for_keg_only_formula(f).chomp
  108
+    ohai 'Caveats', text_for_keg_only_formula(f)
109 109
     show_summary_heading = true
110 110
   else
111 111
     begin
2  bin/brew
@@ -64,7 +64,7 @@ begin
64 64
         # please improve it! :)
65 65
         exec 'mate', *Dir["#{HOMEBREW_PREFIX}/Library/*"]<<
66 66
                           "#{HOMEBREW_PREFIX}/bin/brew"<<
67  
-                          "#{HOMEBREW_PREFIX}/README*"
  67
+                          "#{HOMEBREW_PREFIX}/README.md"
68 68
       else
69 69
         exec_editor *ARGV.formulae.collect {|f| f.path}
70 70
       end

0 notes on commit d4aeb37

Please sign in to comment.
Something went wrong with that request. Please try again.