20 lines
559 B
Bash
20 lines
559 B
Bash
# Template file for 'unittest-cpp'
|
|
pkgname=unittest-cpp
|
|
version=2.0.0
|
|
revision=1
|
|
build_style=cmake
|
|
short_desc="A lightweight unit testing framework for C++"
|
|
maintainer="Spencer Hill <spencernh77@gmail.com>"
|
|
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
|
|
}
|