cppcheck: add distfiles+checksum

This commit is contained in:
Andrea Brancaleoni 2015-07-27 00:54:38 +02:00
parent 9b5bcabc6b
commit f8c6b87ffd

View file

@ -1,16 +1,15 @@
# Template file for 'cppcheck'
pkgname=cppcheck
version=1.69
revision=1
hostmakedepends="libxslt docbook-xsl git"
revision=2
hostmakedepends="libxslt docbook-xsl"
short_desc="Static analysis of C/C++ code"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://cppcheck.sourceforge.net"
distfiles="https://github.com/danmar/cppcheck/archive/$version.tar.gz"
checksum=6e54f0dc97cbcc6c742cef4ceb1ade7f20f88af713a19c7613dba1d78eed6363
do_fetch() {
git clone -b ${version} git://github.com/danmar/cppcheck ${pkgname}-${version}
}
do_build() {
make ${makejobs} CFGDIR=/usr/share/cppcheck/cfg
make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man