cppcheck: update to 1.42.

This commit is contained in:
Juan RP 2010-05-02 14:33:42 +02:00
parent 4bf44b617b
commit 728938a9ff
2 changed files with 9 additions and 11 deletions

View File

@ -1,9 +1,6 @@
--- Makefile.orig 2010-01-18 16:06:14.309966144 +0100
+++ Makefile 2010-01-18 16:13:22.777964886 +0100
@@ -1,12 +1,12 @@
-CXXFLAGS=-Wall -Wextra -pedantic -g
+CXXFLAGS=-Wall -Wextra -pedantic
CXX=g++
--- Makefile.orig 2010-05-02 14:30:00.962750572 +0200
+++ Makefile 2010-05-02 14:31:50.935750160 +0200
@@ -3,10 +3,10 @@ CXX=g++
BIN=${DESTDIR}/usr/bin
# For 'make man': sudo apt-get install xsltproc docbook-xsl docbook-xml
@ -16,9 +13,9 @@
###### Object Files
@@ -82,12 +82,14 @@ tools/dmake: tools/dmake.cpp lib/filelis
@@ -77,13 +77,14 @@ test: all
clean:
rm -f lib/*.o cli/*.o test/*.o testrunner cppcheck tools/dmake
rm -f lib/*.o cli/*.o test/*.o testrunner cppcheck
-man: $(MAN_SOURCE)
- $(XP) $(DB2MAN) $(MAN_SOURCE)
@ -28,9 +25,10 @@
install: cppcheck
install -d ${BIN}
- install cppcheck ${BIN}
-
+ install -m755 cppcheck ${BIN}
+ install -d $(MANDIR)/man1
+ install -m644 cppcheck.1 $(MANDIR)/man1
###### Build

View File

@ -1,12 +1,12 @@
# Template file for 'cppcheck'
pkgname=cppcheck
version=1.40
version=1.42
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_makefile
make_build_target="cppcheck cppcheck.1"
short_desc="Static analysis of C/C++ code"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=77dc5dd758abc7497367f5f20a6af8e9ae3e460ac99c7813fec4e8aef089d439
checksum=a3349315e6e30ae9ea189225750e6f08e4a647b459080d4846e3c4cf6751adf0
long_desc="
Cppcheck is a tool for static C/C++ code analysis, and it tries to
detect bugs that your compiler do not see. Checks for: memory leaks,