void-packages/srcpkgs/cppcheck/template

26 lines
772 B
Bash

# Template file for 'cppcheck'
pkgname=cppcheck
version=2.2
revision=1
build_style=gnu-makefile
make_build_args="
FILESDIR=/usr/share/cppcheck
MATCHCOMPILER=yes
DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl"
make_install_args="${make_build_args}"
make_build_target="cppcheck man"
python_version="3"
hostmakedepends="libxslt docbook-xsl python3 which"
depends="python3"
short_desc="Static analysis of C/C++ code"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://cppcheck.sourceforge.net"
changelog="https://sourceforge.net/p/cppcheck/news/"
distfiles="https://github.com/danmar/cppcheck/archive/${version}.tar.gz"
checksum=ad96290a1842c5934bf9c4268cb270953f3078d4ce33a9a53922d6cb6daf61aa
post_install() {
vman cppcheck.1
}