Package: cppcheck
Homepage: http://cppcheck.sourceforge.net
Version: 1.60.1
Revision: 1
Maintainer: Andreas Biessmann <andreas@biessmann.de>
License: GPL

Description: C/C++ static code analyzer
DescDetail: <<
Cppcheck is a static analysis tool for C/C++ code. Unlike C/C++ compilers and
many other analysis tools it does not detect syntax errors in the code.
Cppcheck primarily detects the types of bugs that the compilers normally do
not detect. The goal is to detect only real errors in the code (i.e. have zero
false positives).
<<

Source: mirror:sourceforge:%n/%n-%v.tar.bz2
Source-Checksum: SHA256(08c754744c1d53c2368692c133a69778f3bbfcce5c93a3f5b32575b9d7699449)

PatchFile: cppcheck.patch
PatchFile-MD5: 57cc05a816c061d2c965c59628f89f8d

Depends: libpcre1-shlibs
BuildDepends: python, libxslt-bin, docbook-xsl, libpcre1

CompileScript: <<
    make HAVE_RULES=yes SRCDIR=build
    make DB2MAN=%p/share/xml/xsl/docbook-xsl/manpages/docbook.xsl man
<<

DocFiles: AUTHORS COPYING
InstallScript: <<
    make HAVE_RULES=yes SRCDIR=build PREFIX= DESTDIR=%i install
    install -d %i/share/man/man1
    install -m644 cppcheck.1 %i/share/man/man1
<<