mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
cppcheck: update to 2.16.1.
This commit is contained in:
parent
20e9b638af
commit
5306656ee7
1 changed files with 4 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'cppcheck'
|
# Template file for 'cppcheck'
|
||||||
pkgname=cppcheck
|
pkgname=cppcheck
|
||||||
version=2.15.0
|
version=2.16.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="
|
configure_args="
|
||||||
|
@ -8,7 +8,8 @@ configure_args="
|
||||||
-DFILESDIR=/usr/share/cppcheck
|
-DFILESDIR=/usr/share/cppcheck
|
||||||
-DHAVE_RULES=ON
|
-DHAVE_RULES=ON
|
||||||
-DUSE_BUNDLED_TINYXML2=OFF
|
-DUSE_BUNDLED_TINYXML2=OFF
|
||||||
-DUSE_MATCHCOMPILER=ON"
|
-DUSE_MATCHCOMPILER=ON
|
||||||
|
-DDISABLE_DMAKE=ON"
|
||||||
hostmakedepends="libxslt docbook-xsl python3 qt5-tools-devel"
|
hostmakedepends="libxslt docbook-xsl python3 qt5-tools-devel"
|
||||||
makedepends="pcre-devel tinyxml2-devel qt5-devel qt5-tools-devel qt5-plugin-mysql
|
makedepends="pcre-devel tinyxml2-devel qt5-devel qt5-tools-devel qt5-plugin-mysql
|
||||||
qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds"
|
qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds"
|
||||||
|
@ -19,7 +20,7 @@ license="GPL-3.0-or-later"
|
||||||
homepage="http://cppcheck.sourceforge.net"
|
homepage="http://cppcheck.sourceforge.net"
|
||||||
changelog="https://sourceforge.net/p/cppcheck/news/"
|
changelog="https://sourceforge.net/p/cppcheck/news/"
|
||||||
distfiles="https://github.com/danmar/cppcheck/archive/refs/tags/${version}.tar.gz"
|
distfiles="https://github.com/danmar/cppcheck/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=98bcc40ac8062635b492fb096d7815376a176ae26749d6c708083f4637f7c0bb
|
checksum=cba3634650fe9dc406a769e4cc6cf053d077740fb273a50a91ce3f17ac773607
|
||||||
|
|
||||||
export CXXFLAGS="-DNDEBUG"
|
export CXXFLAGS="-DNDEBUG"
|
||||||
|
|
||||||
|
@ -27,12 +28,6 @@ if [ -n "$XBPS_CHECK_PKGS" ]; then
|
||||||
configure_args+=" -DBUILD_TESTS=ON"
|
configure_args+=" -DBUILD_TESTS=ON"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_extract() {
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
vsed -e '/run-dmake/d' -i test/CMakeLists.txt -i cli/CMakeLists.txt
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
make DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl man
|
make DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl man
|
||||||
vman cppcheck.1
|
vman cppcheck.1
|
||||||
|
|
Loading…
Add table
Reference in a new issue