2010-01-18 16:17:43 +01:00
|
|
|
# Template file for 'cppcheck'
|
|
|
|
pkgname=cppcheck
|
2015-09-05 08:42:24 +02:00
|
|
|
version=1.70
|
|
|
|
revision=1
|
2015-07-27 00:54:38 +02:00
|
|
|
hostmakedepends="libxslt docbook-xsl"
|
2010-01-18 16:17:43 +01:00
|
|
|
short_desc="Static analysis of C/C++ code"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-10-14 17:58:04 +02:00
|
|
|
license="GPL-2"
|
2012-09-11 08:48:17 +02:00
|
|
|
homepage="http://cppcheck.sourceforge.net"
|
2015-07-27 00:54:38 +02:00
|
|
|
distfiles="https://github.com/danmar/cppcheck/archive/$version.tar.gz"
|
2015-09-05 08:42:24 +02:00
|
|
|
checksum=4095de598b5cce9a06e90458a90f46e0307baeaab8a947dae73f287eda3c171f
|
2014-01-09 09:12:14 +01:00
|
|
|
|
|
|
|
do_build() {
|
2014-08-02 17:52:26 +02:00
|
|
|
make ${makejobs} CFGDIR=/usr/share/cppcheck/cfg
|
2014-05-11 22:55:36 +02:00
|
|
|
make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man
|
2014-01-09 09:12:14 +01:00
|
|
|
}
|
|
|
|
do_install() {
|
2014-05-11 22:55:36 +02:00
|
|
|
make DESTDIR=${DESTDIR} CFGDIR=/usr/share/cppcheck/cfg install
|
2014-08-02 17:52:26 +02:00
|
|
|
vman cppcheck.1
|
|
|
|
vmkdir usr/share/${pkgname}
|
2014-05-11 22:55:36 +02:00
|
|
|
vcopy cfg/ usr/share/${pkgname}/cfg
|
2014-01-09 09:12:14 +01:00
|
|
|
}
|