mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
New package: catch2-2.7.0.
closes #10087 Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
This commit is contained in:
parent
54314a1224
commit
f0947cff29
1 changed files with 27 additions and 0 deletions
27
srcpkgs/catch2/template
Normal file
27
srcpkgs/catch2/template
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Template file for 'catch2'
|
||||||
|
pkgname=catch2
|
||||||
|
version=2.7.0
|
||||||
|
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"
|
||||||
|
checksum=d4655e87c0ccda5a2e78bf4256fce8036feb969399503dcc8272f4c90347d9c0
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
cd build
|
||||||
|
make test
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue