Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libstrl/
Date: Sun, 04 Nov 2018 15:02:41
Message-Id: 1541343753.092b52c4ca2b7827f0c32b44ed18c68bb430a0b6.jer@gentoo
1 commit: 092b52c4ca2b7827f0c32b44ed18c68bb430a0b6
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 4 15:02:16 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 4 15:02:33 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=092b52c4
7
8 dev-libs/libstrl: Several small improvements
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 dev-libs/libstrl/libstrl-0.5.1-r1.ebuild | 32 ++++++++++++++++++++++++++++++++
14 1 file changed, 32 insertions(+)
15
16 diff --git a/dev-libs/libstrl/libstrl-0.5.1-r1.ebuild b/dev-libs/libstrl/libstrl-0.5.1-r1.ebuild
17 new file mode 100644
18 index 00000000000..a3d8d099ada
19 --- /dev/null
20 +++ b/dev-libs/libstrl/libstrl-0.5.1-r1.ebuild
21 @@ -0,0 +1,32 @@
22 +# Copyright 1999-2018 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +inherit toolchain-funcs multilib-minimal
27 +
28 +DESCRIPTION="Compat library for functions like strlcpy(), strlcat(), strnlen(), getline()"
29 +HOMEPAGE="http://ohnopub.net/~ohnobinki/libstrl/"
30 +SRC_URI="ftp://mirror.ohnopub.net/mirror/${P}.tar.bz2"
31 +
32 +LICENSE="LGPL-3"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x64-macos"
35 +IUSE="doc static-libs test"
36 +
37 +DEPEND="
38 + doc? ( app-doc/doxygen )
39 + test? ( dev-libs/check )
40 +"
41 +
42 +src_prepare() {
43 + default
44 + multilib_copy_sources
45 +}
46 +
47 +multilib_src_configure() {
48 + tc-export AR
49 + econf \
50 + $(use_enable static-libs static) \
51 + $(use_with doc doxygen) \
52 + $(use_with test check)
53 +}