summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSvyatoslav Mishyn <juef@openmailbox.org>2016-06-10 14:42:28 +0300
committerSvyatoslav Mishyn <juef@openmailbox.org>2016-06-10 14:42:28 +0300
commit481b40e55b0c782d554ed6901ea8413d2d38e232 (patch)
treee88b2bdb4a52cea457889da032b4908cfe9f228c
parentf3ddb5bbd828086834e2f7a31ba6c127c807e261 (diff)
downloadcontrib-481b40e55b0c782d554ed6901ea8413d2d38e232.tar.gz
contrib-481b40e55b0c782d554ed6901ea8413d2d38e232.tar.xz
cppcheck: initial import
-rw-r--r--cppcheck/.footprint26
-rw-r--r--cppcheck/.md5sum1
-rw-r--r--cppcheck/Pkgfile21
3 files changed, 48 insertions, 0 deletions
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
+}

Generated by cgit