summaryrefslogtreecommitdiff
path: root/dev-util/cpputest/cpputest-4.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/cpputest/cpputest-4.0.ebuild')
-rw-r--r--dev-util/cpputest/cpputest-4.0.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-util/cpputest/cpputest-4.0.ebuild b/dev-util/cpputest/cpputest-4.0.ebuild
new file mode 100644
index 000000000000..1288ed85d9d4
--- /dev/null
+++ b/dev-util/cpputest/cpputest-4.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Unit testing and mocking framework for C/C++"
+HOMEPAGE="https://cpputest.github.io/ https://github.com/cpputest/cpputest"
+SRC_URI="https://github.com/cpputest/cpputest/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( >=dev-cpp/gtest-1.8.0 )"
+
+DOCS=( AUTHORS README.md README_CppUTest_for_C.txt )
+
+src_prepare() {
+ default
+ eautoreconf
+}