Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libstrl/
Date: Fri, 09 Sep 2022 07:59:43
Message-Id: 1662710340.98776af380b922bf12e60bd3e9f13f825b19ee29.soap@gentoo
1 commit: 98776af380b922bf12e60bd3e9f13f825b19ee29
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 9 07:59:00 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 9 07:59:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98776af3
7
8 dev-libs/libstrl: drop multilib, static-libs
9
10 No multilib or static-deps reverse dependencies.
11
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 ...trl-0.5.1-r1.ebuild => libstrl-0.5.1-r2.ebuild} | 26 ++++++++++++----------
16 1 file changed, 14 insertions(+), 12 deletions(-)
17
18 diff --git a/dev-libs/libstrl/libstrl-0.5.1-r1.ebuild b/dev-libs/libstrl/libstrl-0.5.1-r2.ebuild
19 similarity index 69%
20 rename from dev-libs/libstrl/libstrl-0.5.1-r1.ebuild
21 rename to dev-libs/libstrl/libstrl-0.5.1-r2.ebuild
22 index 33b911319375..13faa3a50256 100644
23 --- a/dev-libs/libstrl/libstrl-0.5.1-r1.ebuild
24 +++ b/dev-libs/libstrl/libstrl-0.5.1-r2.ebuild
25 @@ -1,8 +1,9 @@
26 -# Copyright 1999-2019 Gentoo Authors
27 +# Copyright 1999-2022 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 -EAPI=7
31 -inherit toolchain-funcs multilib-minimal
32 +EAPI=8
33 +
34 +inherit toolchain-funcs
35
36 DESCRIPTION="Compat library for functions like strlcpy(), strlcat(), strnlen(), getline()"
37 HOMEPAGE="http://ohnopub.net/~ohnobinki/libstrl/"
38 @@ -11,23 +12,24 @@ SRC_URI="http://mirror.ohnopub.net/mirror/${P}.tar.bz2"
39 LICENSE="LGPL-3"
40 SLOT="0"
41 KEYWORDS="amd64 x86 ~amd64-linux ~x64-macos"
42 -IUSE="doc static-libs test"
43 +IUSE="doc test"
44 RESTRICT="!test? ( test )"
45
46 -DEPEND="
47 +BDEPEND="
48 doc? ( app-doc/doxygen )
49 test? ( dev-libs/check )
50 "
51
52 -src_prepare() {
53 - default
54 - multilib_copy_sources
55 -}
56 -
57 -multilib_src_configure() {
58 +src_configure() {
59 tc-export AR
60 +
61 econf \
62 - $(use_enable static-libs static) \
63 $(use_with doc doxygen) \
64 $(use_with test check)
65 }
66 +
67 +src_install() {
68 + default
69 +
70 + find "${ED}" -name '*.la' -delete || die
71 +}