cppcheck: initial import

This commit is contained in:
Svyatoslav Mishyn 2016-06-10 14:42:28 +03:00
parent f3ddb5bbd8
commit 481b40e55b
3 changed files with 48 additions and 0 deletions

26
cppcheck/.footprint Normal file
View File

@ -0,0 +1,26 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/cert.py
-rwxr-xr-x root/root usr/bin/cppcheck
-rwxr-xr-x root/root usr/bin/cppcheck-htmlreport
-rwxr-xr-x root/root usr/bin/cppcheckdata.py
-rwxr-xr-x root/root usr/bin/findcasts.py
-rwxr-xr-x root/root usr/bin/naming.py
-rwxr-xr-x root/root usr/bin/threadsafety.py
-rwxr-xr-x root/root usr/bin/y2038.py
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/cppcheck/
drwxr-xr-x root/root usr/share/cppcheck/cfg/
-rw-r--r-- root/root usr/share/cppcheck/cfg/avr.cfg
-rw-r--r-- root/root usr/share/cppcheck/cfg/cppcheck-cfg.rng
-rw-r--r-- root/root usr/share/cppcheck/cfg/gnu.cfg
-rw-r--r-- root/root usr/share/cppcheck/cfg/gtk.cfg
-rw-r--r-- root/root usr/share/cppcheck/cfg/microsoft_sal.cfg
-rw-r--r-- root/root usr/share/cppcheck/cfg/posix.cfg
-rw-r--r-- root/root usr/share/cppcheck/cfg/qt.cfg
-rw-r--r-- root/root usr/share/cppcheck/cfg/sdl.cfg
-rw-r--r-- root/root usr/share/cppcheck/cfg/std.cfg
-rw-r--r-- root/root usr/share/cppcheck/cfg/windows.cfg
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-r--r--r-- root/root usr/share/man/man1/cppcheck.1.gz

1
cppcheck/.md5sum Normal file
View File

@ -0,0 +1 @@
5a6c82f6283c2071fb8dc2b9210e6656 1.74.tar.gz

21
cppcheck/Pkgfile Normal file
View File

@ -0,0 +1,21 @@
# Description: Static analysis tool for C/C++ code
# URL: http://cppcheck.sourceforge.net/
# Maintainer: Svyatoslav Mishyn, juef at openmailbox dot org
# Depends on: libpcre python docbook-xsl
name=cppcheck
version=1.74
release=1
source=(https://github.com/danmar/$name/archive/$version.tar.gz)
build() {
cd $name-$version
make install SRCDIR=build \
HAVE_RULES=yes \
CFGDIR=/usr/share/cppcheck/cfg \
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
}