From e7bd26e22563a32bde5e77defcb199dc596ca5e3 Mon Sep 17 00:00:00 2001 From: Spencer Hill Date: Thu, 21 Jan 2016 18:36:44 -0500 Subject: [PATCH] New package: unittest-cpp-1.5.0 --- srcpkgs/unittest-cpp/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/unittest-cpp/template diff --git a/srcpkgs/unittest-cpp/template b/srcpkgs/unittest-cpp/template new file mode 100644 index 00000000000..5e6fc2fc78b --- /dev/null +++ b/srcpkgs/unittest-cpp/template @@ -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 " +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 +}