# Template file for 'cpputest'
pkgname=cpputest
version=4.0
revision=1
build_style=cmake
short_desc="CppUTest unit testing and mocking framework for C/C++"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://cpputest.github.io/"
distfiles="https://github.com/cpputest/cpputest/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=21c692105db15299b5529af81a11a7ad80397f92c122bd7bf1e4a4b0e85654f7

# tests are ON uncontitionally
if [ -z "$XBPS_CHECK_PKGS" ] || [ "$CROSS_BUILD" ]; then
	configure_args+=" -DTESTS=OFF"
fi

post_install() {
	vlicense COPYING
}
