2016-06-10 14:42:28 +03:00
|
|
|
# Description: Static analysis tool for C/C++ code
|
|
|
|
# URL: http://cppcheck.sourceforge.net/
|
2018-02-18 07:18:27 -05:00
|
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
2016-06-10 14:42:28 +03:00
|
|
|
# Depends on: libpcre python docbook-xsl
|
|
|
|
|
|
|
|
name=cppcheck
|
2020-01-02 13:15:50 +11:00
|
|
|
version=1.90
|
2016-06-10 14:42:28 +03:00
|
|
|
release=1
|
2017-11-25 20:20:25 +02:00
|
|
|
source=(https://github.com/danmar/$name/archive/$version/$name-$version.tar.gz)
|
2016-06-10 14:42:28 +03:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
2019-09-01 10:39:30 -04:00
|
|
|
make install HAVE_RULES=yes \
|
|
|
|
MATCHCOMPILER=yes \
|
|
|
|
FILESDIR=/usr/share/cppcheck \
|
2016-06-10 14:42:28 +03:00
|
|
|
DESTDIR=$PKG
|
|
|
|
|
|
|
|
make man DB2MAN=/usr/share/xml/docbook/xsl-stylesheets/manpages/docbook.xsl
|
|
|
|
install -Dm 0444 $name.1 $PKG/usr/share/man/man1/$name.1
|
|
|
|
}
|