cppcheck: update to 1.89.
This commit is contained in:
parent
a34be432f4
commit
fa894e6b36
|
@ -1,24 +1,25 @@
|
||||||
# Template file for 'cppcheck'
|
# Template file for 'cppcheck'
|
||||||
pkgname=cppcheck
|
pkgname=cppcheck
|
||||||
version=1.88
|
version=1.89
|
||||||
revision=1
|
revision=1
|
||||||
hostmakedepends="libxslt docbook-xsl"
|
build_style=gnu-makefile
|
||||||
depends="python"
|
make_build_args="
|
||||||
|
FILESDIR=/usr/share/cppcheck
|
||||||
|
MATCHCOMPILER=yes
|
||||||
|
DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl"
|
||||||
|
make_install_args="
|
||||||
|
FILESDIR=/usr/share/cppcheck"
|
||||||
|
make_build_target="cppcheck man"
|
||||||
|
python_version="3"
|
||||||
|
hostmakedepends="libxslt docbook-xsl python3"
|
||||||
|
depends="python3"
|
||||||
short_desc="Static analysis of C/C++ code"
|
short_desc="Static analysis of C/C++ code"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="http://cppcheck.sourceforge.net"
|
homepage="http://cppcheck.sourceforge.net"
|
||||||
distfiles="https://github.com/danmar/cppcheck/archive/${version}.tar.gz"
|
distfiles="https://github.com/danmar/cppcheck/archive/${version}.tar.gz"
|
||||||
checksum=4aace0420d6aaa900b84b3329c5173c2294e251d2e24d8cba6e38254333dde3f
|
checksum=37452d378825c7bd78116b4d7073df795fa732207d371ad5348287f811755783
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
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
|
vman cppcheck.1
|
||||||
vmkdir usr/share/${pkgname}
|
|
||||||
vcopy cfg/ usr/share/${pkgname}/cfg
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue