Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ell/
Date: Fri, 05 Apr 2019 13:17:03
Message-Id: 1554470210.fd88098364053a9b5c2bfe1154a37627f3e50eb4.polynomial-c@gentoo
1 commit: fd88098364053a9b5c2bfe1154a37627f3e50eb4
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 5 13:15:01 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 5 13:16:50 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd880983
7
8 dev-libs/ell: Added live ebuild
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 dev-libs/ell/ell-9999.ebuild | 45 ++++++++++++++++++++++++++++++++++++++++++++
14 1 file changed, 45 insertions(+)
15
16 diff --git a/dev-libs/ell/ell-9999.ebuild b/dev-libs/ell/ell-9999.ebuild
17 new file mode 100644
18 index 00000000000..6e917adf811
19 --- /dev/null
20 +++ b/dev-libs/ell/ell-9999.ebuild
21 @@ -0,0 +1,45 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit multilib-minimal
28 +
29 +DESCRIPTION="Embedded Linux Library provides core, low-level functionality for system daemons"
30 +HOMEPAGE="https://01.org/ell"
31 +if [[ "${PV}" == *9999 ]] ; then
32 + inherit autotools git-r3
33 + EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
34 +else
35 + SRC_URI="https://mirrors.edge.kernel.org/pub/linux/libs/${PN}/${P}.tar.xz"
36 + KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
37 +fi
38 +LICENSE="LGPL-2.1"
39 +SLOT="0"
40 +
41 +IUSE="glib pie"
42 +
43 +RDEPEND="
44 + glib? ( dev-libs/glib:2[${MULTILIB_USEDEP}] )
45 +"
46 +DEPEND="${RDEPEND}"
47 +
48 +src_prepare() {
49 + default
50 + [[ "${PV}" == *9999 ]] && eautoreconf
51 +}
52 +
53 +multilib_src_configure() {
54 + local myeconfargs=(
55 + $(use_enable glib)
56 + $(use_enable pie)
57 + )
58 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
59 +}
60 +
61 +multilib_src_install_all() {
62 + local DOCS=( ChangeLog README )
63 + einstalldocs
64 +
65 + find "${ED}" -name "*.la" -delete || die
66 +}