mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
cppcheck: make with std.cfg
This commit is contained in:
parent
711382eded
commit
c82dab8950
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cppcheck'
|
# Template file for 'cppcheck'
|
||||||
pkgname=cppcheck
|
pkgname=cppcheck
|
||||||
version=1.65
|
version=1.65
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="libxslt docbook-xsl"
|
hostmakedepends="libxslt docbook-xsl"
|
||||||
short_desc="Static analysis of C/C++ code"
|
short_desc="Static analysis of C/C++ code"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -13,10 +13,11 @@ do_fetch() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
make CFGDIR=/usr/share/cppcheck/cfg
|
||||||
make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man
|
make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} install
|
make DESTDIR=${DESTDIR} CFGDIR=/usr/share/cppcheck/cfg install
|
||||||
vinstall cppcheck.1 644 usr/share/man/man1
|
vinstall cppcheck.1 644 usr/share/man/man1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue