From e64c8e296de69689d797a50190cb1270e58f5f66 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Wed, 24 Jun 2020 23:55:16 +0300 Subject: [PATCH] cpputest: update to 4.0. --- srcpkgs/cpputest/template | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/srcpkgs/cpputest/template b/srcpkgs/cpputest/template index 1b6e933897b..302db63faa8 100644 --- a/srcpkgs/cpputest/template +++ b/srcpkgs/cpputest/template @@ -1,15 +1,19 @@ # Template file for 'cpputest' -pkgname="cpputest" -version="3.8" +pkgname=cpputest +version=4.0 revision=1 -build_style="cmake" +build_style=cmake short_desc="CppUTest unit testing and mocking framework for C/C++" maintainer="Julien Dehos " +license="BSD-3-Clause" homepage="http://cpputest.github.io/" -license="BSD" -distfiles="https://github.com/cpputest/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz" -checksum="c81dccc5a1bfc7fc6511590c0a61def5f78e3fb19cb8e1f889d8d3395a476456" -configure_args+=" -DTESTS=OFF" +distfiles="https://github.com/cpputest/cpputest/releases/download/v${version}/cpputest-${version}.tar.gz" +checksum=21c692105db15299b5529af81a11a7ad80397f92c122bd7bf1e4a4b0e85654f7 + +if [ "$CROSS_BUILD" ]; then + configure_args=" -DTESTS_BUILD_DISCOVER=OFF" +fi + post_install() { vlicense COPYING }