cppcheck: copy the cfgs into CFGDIR; revbump

This commit is contained in:
Jan S 2014-05-11 22:55:36 +02:00
parent 9eec68fb2f
commit 587ff4ca53

View File

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