void-packages/srcpkgs/unittest-cpp/template

21 lines
597 B
Bash

# Template file for 'unittest-cpp'
pkgname=unittest-cpp
version=2.0.0
revision=1
build_style=cmake
configure_args="-DUTPP_AMPLIFY_WARNINGS=OFF"
short_desc="Lightweight unit testing framework for C++"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/unittest-cpp/unittest-cpp"
distfiles="https://github.com/unittest-cpp/unittest-cpp/archive/v${version}.tar.gz"
checksum=74852198877dc2fdebdc4e5e9bd074018bf8ee03a13de139bfe41f4585b2f5b9
if [ "$CROSS_BUILD" ]; then
configure_args+=" -DUTPP_INCLUDE_TESTS_IN_BUILD=OFF"
fi
post_install() {
vlicense LICENSE
}