aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bash-completion.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-07-07 11:08:22 -0700
committerAdam Vandenberg2012-07-10 08:56:02 -0700
commit1f32fa43a77d75fe354e9e59bd23e9b9d934e09c (patch)
treec49ca57d6e333035e48616bf89eaba0d067da021 /Library/Formula/bash-completion.rb
parentcc6e0124437c4ceabbc0542770ed154aa0fb9e4e (diff)
downloadhomebrew-1f32fa43a77d75fe354e9e59bd23e9b9d934e09c.tar.bz2
Use autotools symbols
Diffstat (limited to 'Library/Formula/bash-completion.rb')
-rw-r--r--Library/Formula/bash-completion.rb12
1 files changed, 9 insertions, 3 deletions
diff --git a/Library/Formula/bash-completion.rb b/Library/Formula/bash-completion.rb
index bbc2f3687..0950ef91c 100644
--- a/Library/Formula/bash-completion.rb
+++ b/Library/Formula/bash-completion.rb
@@ -1,12 +1,18 @@
require 'formula'
+# NOTE: version 2.0 is out, but it requires Bash 4, and OS X ships
+# with 3.2.48
class BashCompletion < Formula
- url 'http://bash-completion.alioth.debian.org/files/bash-completion-1.3.tar.bz2'
homepage 'http://bash-completion.alioth.debian.org/'
- md5 'a1262659b4bbf44dc9e59d034de505ec'
+ url 'http://bash-completion.alioth.debian.org/files/bash-completion-1.3.tar.bz2'
+ sha1 '6a46b93f44c56cc336632ab28d90c0595fbcc98f'
+
head 'git://git.debian.org/git/bash-completion/bash-completion.git'
- depends_on "automake" => :build if ARGV.build_head? and MacOS.xcode_version.to_f >= 4.3
+ if ARGV.build_head?
+ depends_on :autoconf
+ depends_on :automake
+ end
def install
inreplace "bash_completion" do |s|