Skip to content

Commit 529f8f9

Browse files
committed
cpputest: update to 4.0.
Closes: #23219
1 parent 0281425 commit 529f8f9

1 file changed

Lines changed: 13 additions & 8 deletions

File tree

srcpkgs/cpputest/template

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
# Template file for 'cpputest'
2-
pkgname="cpputest"
3-
version="3.8"
2+
pkgname=cpputest
3+
version=4.0
44
revision=1
5-
build_style="cmake"
5+
build_style=cmake
66
short_desc="CppUTest unit testing and mocking framework for C/C++"
77
maintainer="Julien Dehos <dehos@lisic.univ-littoral.fr>"
8-
homepage="http://cpputest.github.io/"
9-
license="BSD"
10-
distfiles="https://github.com/cpputest/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz"
11-
checksum="c81dccc5a1bfc7fc6511590c0a61def5f78e3fb19cb8e1f889d8d3395a476456"
12-
configure_args+=" -DTESTS=OFF"
8+
license="BSD-3-Clause"
9+
homepage="https://cpputest.github.io/"
10+
distfiles="https://github.com/cpputest/cpputest/releases/download/v${version}/${pkgname}-${version}.tar.gz"
11+
checksum=21c692105db15299b5529af81a11a7ad80397f92c122bd7bf1e4a4b0e85654f7
12+
13+
# tests are ON uncontitionally
14+
if [ -z "$XBPS_CHECK_PKGS" ] || [ "$CROSS_BUILD" ]; then
15+
configure_args+=" -DTESTS=OFF"
16+
fi
17+
1318
post_install() {
1419
vlicense COPYING
1520
}

0 commit comments

Comments
 (0)