2019-03-20 15:51:01 +00:00
|
|
|
# Template file for 'catch2'
|
|
|
|
pkgname=catch2
|
2019-04-09 02:47:38 +00:00
|
|
|
version=2.7.1
|
2019-03-20 15:51:01 +00:00
|
|
|
revision=1
|
|
|
|
archs=noarch
|
|
|
|
wrksrc="Catch2-${version}"
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DCATCH_USE_VALGRIND=OFF -DCATCH_BUILD_TESTING=ON
|
|
|
|
-DCATCH_BUILD_EXAMPLES=OFF -DCATCH_BUILD_EXTRA_TESTS=OFF
|
|
|
|
-DCATCH_ENABLE_COVERAGE=OFF -DCATCH_ENABLE_WERROR=OFF
|
|
|
|
-DCATCH_INSTALL_DOCS=ON -DCATCH_INSTALL_HELPERS=ON"
|
|
|
|
hostmakedepends="python3"
|
|
|
|
short_desc="C++ header-only test framework for unit-tests, TDD and BDD"
|
|
|
|
maintainer="Louis Dupré Bertoni <contact@louisdb.xyz>"
|
|
|
|
license="BSL-1.0"
|
|
|
|
homepage="https://github.com/catchorg/Catch2"
|
|
|
|
distfiles="https://github.com/catchorg/Catch2/archive/v${version}/${pkgname}-v${version}.tar.gz"
|
2019-04-09 02:47:38 +00:00
|
|
|
checksum=04b303517284572c277597004a33c3f8c02a4d12ba73d5a4cb73b4a369dfef0b
|
2019-03-20 15:51:01 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE.txt
|
|
|
|
}
|
|
|
|
|
|
|
|
do_check() {
|
|
|
|
cd build
|
|
|
|
make test
|
|
|
|
}
|