31 lines
869 B
Bash
31 lines
869 B
Bash
# Template file for 'cppcheck'
|
|
pkgname=cppcheck
|
|
version=2.9.1
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_build_args="
|
|
FILESDIR=/usr/share/cppcheck
|
|
MATCHCOMPILER=yes
|
|
HAVE_RULES=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"
|
|
makedepends="pcre-devel"
|
|
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=c166b86aebe80faa08c80196c9156b73e9ffaf8eccd84f9317c51f62577028df
|
|
|
|
export CXXFLAGS="-DNDEBUG"
|
|
export LDFLAGS="-pthread"
|
|
|
|
post_install() {
|
|
vman cppcheck.1
|
|
}
|