2016-01-22 00:36:44 +01:00
|
|
|
# Template file for 'unittest-cpp'
|
|
|
|
pkgname=unittest-cpp
|
2016-03-15 15:32:06 +01:00
|
|
|
version=1.6.0
|
2016-01-22 00:36:44 +01:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="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"
|
2016-01-30 08:28:33 +01:00
|
|
|
distfiles="https://github.com/unittest-cpp/unittest-cpp/archive/v${version}.tar.gz"
|
2016-03-15 15:32:06 +01:00
|
|
|
checksum=9fa7e797816e16669d68171418b0dc41ec6b7eaf8483f782441f5f159598c3c0
|
2016-01-22 00:36:44 +01:00
|
|
|
|
|
|
|
pre_build() {
|
|
|
|
case $XBPS_TARGET_MACHINE in
|
|
|
|
arm* ) echo "Removing built in test from arm build. Won't run on host x86_64 machine"
|
|
|
|
sed -i '59,61d' CMakeLists.txt ;;
|
|
|
|
esac
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|