diff --git a/cppcheck/.footprint b/cppcheck/.footprint new file mode 100644 index 000000000..0cd113ff7 --- /dev/null +++ b/cppcheck/.footprint @@ -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 diff --git a/cppcheck/.md5sum b/cppcheck/.md5sum new file mode 100644 index 000000000..0cfe492ee --- /dev/null +++ b/cppcheck/.md5sum @@ -0,0 +1 @@ +5a6c82f6283c2071fb8dc2b9210e6656 1.74.tar.gz diff --git a/cppcheck/Pkgfile b/cppcheck/Pkgfile new file mode 100644 index 000000000..b5d448c56 --- /dev/null +++ b/cppcheck/Pkgfile @@ -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 +}