void-packages/srcpkgs/catch2/template

21 lines
748 B
Bash

# Template file for 'catch2'
pkgname=catch2
version=2.13.10
revision=1
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}/catch2-v${version}.tar.gz"
checksum=d54a712b7b1d7708bc7a819a8e6e47b2fde9536f487b89ccbca295072a7d9943
post_install() {
vlicense LICENSE.txt
}