cppcheck: update to 1.63.1.

This commit is contained in:
Juan RP 2014-01-09 09:12:14 +01:00
parent 8d2adc9c31
commit d51283739a
2 changed files with 14 additions and 28 deletions

View file

@ -1,23 +0,0 @@
--- Makefile.orig 2011-02-06 12:14:09.000000000 +0100
+++ Makefile 2011-02-08 09:44:42.673787912 +0100
@@ -15,7 +15,7 @@ endif
BIN=$(DESTDIR)$(PREFIX)/bin
# For 'make man': sudo apt-get install xsltproc docbook-xsl docbook-xml on Linux
-DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl
+DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl
XP=xsltproc -''-nonet -''-param man.charmap.use.subset "0"
MAN_SOURCE=man/cppcheck.1.xml
@@ -131,8 +131,9 @@ tags:
install: cppcheck
install -d ${BIN}
- install cppcheck ${BIN}
-
+ install -m755 cppcheck ${BIN}
+ install -d $(DESTDIR)$(PREFIX)/share/man/man1
+ install -m644 cppcheck.1 $(DESTDIR)$(PREFIX)/share/man/man1
###### Build

View file

@ -1,13 +1,22 @@
# Template file for 'cppcheck'
pkgname=cppcheck
version=1.60.1
version=1.63.1
revision=1
build_style=gnu-makefile
make_build_target="all man"
hostmakedepends="libxslt docbook-xsl"
short_desc="Static analysis of C/C++ code"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://cppcheck.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=73eb56e5ea268e917c73f64e68744add35409bdc93be99773d814f9cc0a7221e
do_fetch() {
git clone -b ${version} git://github.com/danmar/cppcheck ${pkgname}-${version}
}
do_build() {
make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man
}
do_install() {
make DESTDIR=${DESTDIR} install
vinstall cppcheck.1 644 usr/share/man/man1
}