2010-01-18 15:17:43 +00:00
|
|
|
# Template file for 'cppcheck'
|
|
|
|
pkgname=cppcheck
|
2011-10-14 15:58:04 +00:00
|
|
|
version=1.51
|
|
|
|
homepage="http://cppcheck.sourceforge.net"
|
2010-01-18 15:17:43 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
|
|
|
build_style=gnu_makefile
|
2011-02-08 08:50:04 +00:00
|
|
|
make_build_target="all man"
|
2010-01-18 15:17:43 +00:00
|
|
|
short_desc="Static analysis of C/C++ code"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-14 15:58:04 +00:00
|
|
|
license="GPL-2"
|
|
|
|
checksum=9d417ee31b6d4db199834d6ffb6fbd27c5675e42f1a159e853818cc819f0ff55
|
2010-01-18 15:17:43 +00:00
|
|
|
long_desc="
|
|
|
|
Cppcheck is a tool for static C/C++ code analysis, and it tries to
|
|
|
|
detect bugs that your compiler do not see. Checks for: memory leaks,
|
|
|
|
mismatching allocation-deallocation, buffer overrun, and many more.
|
|
|
|
|
|
|
|
Cppcheck is versatile. You can check non-standard code that includes
|
|
|
|
various compiler extensions, inline assembly code, etc. The goal is no
|
|
|
|
false positives."
|
|
|
|
|
|
|
|
Add_dependency run libgcc
|
2011-02-08 08:50:04 +00:00
|
|
|
Add_dependency run glibc
|
2010-01-18 15:17:43 +00:00
|
|
|
Add_dependency run libstdc++
|
2011-02-08 08:50:04 +00:00
|
|
|
Add_dependency run libpcre
|
2011-10-14 15:58:04 +00:00
|
|
|
|
2010-01-18 15:17:43 +00:00
|
|
|
Add_dependency build libxslt
|
|
|
|
Add_dependency build docbook-xsl
|
2011-02-08 08:50:04 +00:00
|
|
|
Add_dependency build pcre-devel
|