cppcheck: update to 1.74.

This commit is contained in:
Michael Gehring 2016-06-06 08:44:22 +02:00
parent 5c7766e3d7
commit 8cabd1eda6

View file

@ -1,6 +1,6 @@
# Template file for 'cppcheck'
pkgname=cppcheck
version=1.73
version=1.74
revision=1
hostmakedepends="libxslt docbook-xsl"
short_desc="Static analysis of C/C++ code"
@ -8,17 +8,17 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://cppcheck.sourceforge.net"
distfiles="https://github.com/danmar/cppcheck/archive/$version.tar.gz"
checksum=938d792c9399233b551bd9991d6842f353fa8dad973d5e457b78be66646c8b8f
checksum=a7f9657bf458190ea1c994b95333d31d09420198ad8cd010c05d2194cc547fa0
CXXFLAGS="-std=c++11"
do_build() {
make ${makejobs} CFGDIR=/usr/share/cppcheck/cfg
make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man
make ${makejobs} CFGDIR=/usr/share/cppcheck/cfg
make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man
}
do_install() {
make DESTDIR=${DESTDIR} CFGDIR=/usr/share/cppcheck/cfg install
vman cppcheck.1
vmkdir usr/share/${pkgname}
vcopy cfg/ usr/share/${pkgname}/cfg
make DESTDIR=${DESTDIR} CFGDIR=/usr/share/cppcheck/cfg install
vman cppcheck.1
vmkdir usr/share/${pkgname}
vcopy cfg/ usr/share/${pkgname}/cfg
}