diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/bash-completion.rb | 25 | ||||
| -rw-r--r-- | Library/Formula/imagemagick.rb | 2 |
2 files changed, 26 insertions, 1 deletions
diff --git a/Library/Formula/bash-completion.rb b/Library/Formula/bash-completion.rb new file mode 100644 index 000000000..acbbef2c4 --- /dev/null +++ b/Library/Formula/bash-completion.rb @@ -0,0 +1,25 @@ +require 'brewkit' + +class BashCompletion <Formula + @url='http://bash-completion.alioth.debian.org/files/bash-completion-1.0.tar.gz' + @homepage='http://bash-completion.alioth.debian.org/' + @md5='cd1c5648272917fbe0eef4ba30bb93f4' + @head='git://git.debian.org/git/bash-completion/bash-completion.git' + + def install + system "./configure", "--prefix=#{prefix}" + system "make install" + inreplace etc+'bash_completion', 'etc/bash_completion', "#{etc}/bash_completion" + end + + def caveats + puts <<-EOS +============================================================== +Add the following lines to your ~/.profile file: +if [ -f `brew --prefix`/etc/bash_completion ]; then + . `brew --prefix`/etc/bash_completion +fi +============================================================== + EOS + end +end diff --git a/Library/Formula/imagemagick.rb b/Library/Formula/imagemagick.rb index 6d6571234..5db518006 100644 --- a/Library/Formula/imagemagick.rb +++ b/Library/Formula/imagemagick.rb @@ -96,6 +96,6 @@ class Imagemagick <Formula end def caveats - "This package is a bit of a mess, lots of components don't get compiled." + "I'm not a heavy user of ImageMagick, so please check everything is installed." end end
\ No newline at end of file |
