From 587ff4ca53eb4164abbf7eb30c912b84ba00a6bb Mon Sep 17 00:00:00 2001 From: Jan S Date: Sun, 11 May 2014 22:55:36 +0200 Subject: [PATCH] cppcheck: copy the cfgs into CFGDIR; revbump --- srcpkgs/cppcheck/template | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/srcpkgs/cppcheck/template b/srcpkgs/cppcheck/template index b7ea60a8982..4aae0d7f394 100644 --- a/srcpkgs/cppcheck/template +++ b/srcpkgs/cppcheck/template @@ -1,7 +1,7 @@ # Template file for 'cppcheck' pkgname=cppcheck version=1.65 -revision=2 +revision=3 hostmakedepends="libxslt docbook-xsl" short_desc="Static analysis of C/C++ code" maintainer="Juan RP " @@ -13,11 +13,13 @@ do_fetch() { } do_build() { - make CFGDIR=/usr/share/cppcheck/cfg - make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man + make CFGDIR=/usr/share/cppcheck/cfg + make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man } do_install() { - make DESTDIR=${DESTDIR} CFGDIR=/usr/share/cppcheck/cfg install - vinstall cppcheck.1 644 usr/share/man/man1 + make DESTDIR=${DESTDIR} CFGDIR=/usr/share/cppcheck/cfg install + vinstall cppcheck.1 644 usr/share/man/man1 + vmkdir usr/share/${pkgname} 755 + vcopy cfg/ usr/share/${pkgname}/cfg }