cppcheck: update to 1.66.

This commit is contained in:
Juan RP 2014-08-02 17:52:26 +02:00
parent e31c3422ba
commit 4d62a0ca00

View file

@ -1,7 +1,7 @@
# Template file for 'cppcheck' # Template file for 'cppcheck'
pkgname=cppcheck pkgname=cppcheck
version=1.65 version=1.66
revision=3 revision=1
hostmakedepends="libxslt docbook-xsl git" hostmakedepends="libxslt docbook-xsl git"
short_desc="Static analysis of C/C++ code" short_desc="Static analysis of C/C++ code"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -13,13 +13,13 @@ do_fetch() {
} }
do_build() { do_build() {
make CFGDIR=/usr/share/cppcheck/cfg make ${makejobs} CFGDIR=/usr/share/cppcheck/cfg
make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man
} }
do_install() { do_install() {
make DESTDIR=${DESTDIR} CFGDIR=/usr/share/cppcheck/cfg install make DESTDIR=${DESTDIR} CFGDIR=/usr/share/cppcheck/cfg install
vinstall cppcheck.1 644 usr/share/man/man1 vman cppcheck.1
vmkdir usr/share/${pkgname} 755 vmkdir usr/share/${pkgname}
vcopy cfg/ usr/share/${pkgname}/cfg vcopy cfg/ usr/share/${pkgname}/cfg
} }