Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cpptest/
Date: Wed, 20 May 2020 23:20:36
Message-Id: 1590016773.b4e532024ce45cfcea858711bd315124a851b891.sping@gentoo
1 commit: b4e532024ce45cfcea858711bd315124a851b891
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 20 23:18:44 2020 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Wed May 20 23:19:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e53202
7
8 dev-util/cpptest: Support USE=-static-libs
9
10 Closes: https://bugs.gentoo.org/724290
11 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
12 Package-Manager: Portage-2.3.99, Repoman-2.3.22
13
14 dev-util/cpptest/cpptest-2.0.0-r1.ebuild | 27 +++++++++++++++++++++++++++
15 1 file changed, 27 insertions(+)
16
17 diff --git a/dev-util/cpptest/cpptest-2.0.0-r1.ebuild b/dev-util/cpptest/cpptest-2.0.0-r1.ebuild
18 new file mode 100644
19 index 00000000000..e9815270508
20 --- /dev/null
21 +++ b/dev-util/cpptest/cpptest-2.0.0-r1.ebuild
22 @@ -0,0 +1,27 @@
23 +# Copyright 1999-2020 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +DESCRIPTION="Simple but powerful unit testing framework for C++"
29 +HOMEPAGE="https://github.com/cpptest/cpptest"
30 +SRC_URI="https://github.com/cpptest/cpptest/releases/download/${PV}/${P}.tar.bz2"
31 +
32 +LICENSE="LGPL-2.1"
33 +SLOT="1" # for soversion 1.x.x
34 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
35 +IUSE="doc static-libs"
36 +
37 +DEPEND="doc? ( app-doc/doxygen )"
38 +RDEPEND="!dev-util/cpptest:0"
39 +
40 +DOCS=( AUTHORS BUGS NEWS README )
41 +
42 +src_configure() {
43 + econf $(use_enable doc) $(use_enable static-libs static)
44 +}
45 +
46 +src_install() {
47 + default
48 + find "${D}" -name '*.la' -delete || die
49 +}