mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
cppcheck: update to 2.11.
This commit is contained in:
parent
6f3586fde3
commit
9f46c8f511
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'cppcheck'
|
# Template file for 'cppcheck'
|
||||||
pkgname=cppcheck
|
pkgname=cppcheck
|
||||||
version=2.10.3
|
version=2.11
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="
|
configure_args="
|
||||||
|
@ -19,7 +19,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/${version}.tar.gz"
|
distfiles="https://github.com/danmar/cppcheck/archive/${version}.tar.gz"
|
||||||
checksum=8aae5e116daeaaf5d19f3efa61b91c06f161cb97412a1d1af6e1e20686e48967
|
checksum=ef7d77c16e6903834cc016986a60157918a90958e981863746a7f3147bfb94c6
|
||||||
|
|
||||||
export CXXFLAGS="-DNDEBUG"
|
export CXXFLAGS="-DNDEBUG"
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ post_extract() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
vsed -e '/run-dmake/d' -i test/CMakeLists.txt -i cli/CMakeLists.txt
|
vsed -e '/run-dmake/d' -i test/CMakeLists.txt -i cli/CMakeLists.txt
|
||||||
fi
|
fi
|
||||||
|
vsed -e 's/"2.11"/"2.11.0"/' -i cmake/versions.cmake
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue