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