dev-libs/ell: Install docs.
authorLars Wendler <polynomial-c@gentoo.org>
Wed, 25 Jul 2018 09:50:21 +0000 (11:50 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 25 Jul 2018 09:51:01 +0000 (11:51 +0200)
Closes: https://bugs.gentoo.org/662080
Package-Manager: Portage-2.3.43, Repoman-2.3.10

dev-libs/ell/ell-0.6-r1.ebuild [new file with mode: 0644]

diff --git a/dev-libs/ell/ell-0.6-r1.ebuild b/dev-libs/ell/ell-0.6-r1.ebuild
new file mode 100644 (file)
index 0000000..937ba6d
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib-minimal
+
+DESCRIPTION="Embedded Linux Library provides core, low-level functionality for system daemons"
+HOMEPAGE="https://01.org/ell"
+SRC_URI="https://mirrors.edge.kernel.org/pub/linux/libs/${PN}/${P}.tar.xz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="glib pie"
+
+RDEPEND="
+       glib? ( dev-libs/glib:2[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}"
+
+multilib_src_configure() {
+       local myeconfargs=(
+               $(use_enable glib)
+               $(use_enable pie)
+       )
+       ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+       local DOCS=( ChangeLog README )
+       einstalldocs
+
+       find "${ED}" -name "*.la" -delete || die
+}