New package: unittest-cpp-1.5.0
This commit is contained in:
parent
806236e968
commit
e7bd26e225
23
srcpkgs/unittest-cpp/template
Normal file
23
srcpkgs/unittest-cpp/template
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# Template file for 'unittest-cpp'
|
||||||
|
pkgname=unittest-cpp
|
||||||
|
version=1.5.0
|
||||||
|
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"
|
||||||
|
distfiles="https://github.com/unittest-cpp/unittest-cpp/archive/v1.5.0.tar.gz"
|
||||||
|
checksum=09426598ee0976f9c908f8ea7282bda7e9f088305a1fe27d674b7c65b8f53379
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user