Gentoo Archives: gentoo-commits

From: Sven Wegener <swegener@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/augeas/
Date: Mon, 24 Sep 2018 22:22:21
Message-Id: 1537827601.1b02322a2e772ee3c55c19c162cf5eb3c07a6fc5.swegener@gentoo
1 commit: 1b02322a2e772ee3c55c19c162cf5eb3c07a6fc5
2 Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 24 22:12:13 2018 +0000
4 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 24 22:20:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b02322a
7
8 app-admin/augeas: Revision bump to fix several ebuild issues
9
10 * Move eautoreconf to src_prepare()
11 * Use addpredict instead of addwrite
12 * Do not run econf multiple times (USE flags were being ignored)
13 * static-libs USE flag should not disable shared libs
14 * Prune .la files
15
16 Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
17 Package-Manager: Portage-2.3.49, Repoman-2.3.10
18
19 app-admin/augeas/augeas-1.11.0-r1.ebuild | 49 ++++++++++++++++++++++++++++++++
20 1 file changed, 49 insertions(+)
21
22 diff --git a/app-admin/augeas/augeas-1.11.0-r1.ebuild b/app-admin/augeas/augeas-1.11.0-r1.ebuild
23 new file mode 100644
24 index 00000000000..339423a7d7e
25 --- /dev/null
26 +++ b/app-admin/augeas/augeas-1.11.0-r1.ebuild
27 @@ -0,0 +1,49 @@
28 +# Copyright 1999-2018 Gentoo Authors
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=6
32 +
33 +inherit autotools
34 +
35 +DESCRIPTION="A library for changing configuration files"
36 +HOMEPAGE="http://augeas.net/"
37 +SRC_URI="http://download.augeas.net/${P}.tar.gz"
38 +
39 +SLOT="0"
40 +LICENSE="LGPL-2.1"
41 +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ~ppc64 sparc x86"
42 +IUSE="static-libs test"
43 +
44 +RDEPEND="
45 + dev-libs/libxml2
46 + sys-libs/readline:="
47 +DEPEND="${RDEPEND}
48 + virtual/pkgconfig
49 + >=app-doc/NaturalDocs-1.40
50 + test? ( dev-lang/ruby )"
51 +
52 +PATCHES=(
53 +)
54 +
55 +src_prepare() {
56 + default
57 + eautoreconf
58 +}
59 +
60 +src_configure() {
61 + # selinux needs to implemented
62 + econf \
63 + --without-selinux \
64 + $(use_enable static-libs static)
65 +}
66 +
67 +src_compile() {
68 + addpredict /usr/share/NaturalDocs/Config/Languages.txt
69 + addpredict /usr/share/NaturalDocs/Config/Topics.txt
70 + default
71 +}
72 +
73 +src_install() {
74 + default
75 + use static-libs || find "${D}" -name '*.la' -delete || die
76 +}