void-packages/srcpkgs/cpputest/template

21 lines
619 B
Bash

# 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="Julien Dehos <dehos@lisic.univ-littoral.fr>"
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
}