diff options
| author | Juan Sebastian Casallas | 2012-01-09 16:40:52 -0600 | 
|---|---|---|
| committer | Adam Vandenberg | 2012-01-09 18:12:49 -0800 | 
| commit | 18ad60b0f5d5e35d45f6f3cdda7fa5cb8273c60d (patch) | |
| tree | b3b78afaf3dbaf016db13a5769da0cf4bf0a1bff | |
| parent | 08f86f5b1806189a8d3ff01796c2d4fc04b6b5fa (diff) | |
| download | homebrew-18ad60b0f5d5e35d45f6f3cdda7fa5cb8273c60d.tar.bz2 | |
cppcheck 1.52
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/cppcheck.rb | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/Library/Formula/cppcheck.rb b/Library/Formula/cppcheck.rb index fbff5858f..67271b01c 100644 --- a/Library/Formula/cppcheck.rb +++ b/Library/Formula/cppcheck.rb @@ -1,9 +1,9 @@  require 'formula'  class Cppcheck < Formula -  url 'http://downloads.sourceforge.net/project/cppcheck/cppcheck/1.51/cppcheck-1.51.tar.bz2' +  url 'http://downloads.sourceforge.net/project/cppcheck/cppcheck/1.52/cppcheck-1.52.tar.bz2'    homepage 'http://sourceforge.net/apps/mediawiki/cppcheck/index.php?title=Main_Page' -  md5 '8349ab90472801b9d377cfabf846ca28' +  md5 'ebb9355890057a5145485dd42c18e05e'    head 'https://github.com/danmar/cppcheck.git'    depends_on 'pcre' unless ARGV.include? '--no-rules' @@ -20,6 +20,8 @@ class Cppcheck < Formula    skip_clean :all    def install +    # Man pages aren't installed as they require docbook schemas. +      # Pass to make variables.      if ARGV.include? '--no-rules'        system "make", "HAVE_RULES=no" @@ -40,8 +42,8 @@ class Cppcheck < Formula        system "make"        bin.install "cppcheck-gui.app"      end -    # Man pages aren't installed, they require docbook schemas which I don't know how to install.    end +    def caveats; <<-EOS.undent      --with-gui installs cppcheck-gui.app in:        #{bin} @@ -52,5 +54,4 @@ class Cppcheck < Formula          ln -s #{bin}/cppcheck-gui.app /Applications      EOS    end -  end  | 
