forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: https://bugs.gentoo.org/662080 Package-Manager: Portage-2.3.43, Repoman-2.3.10
- Loading branch information
Lars Wendler
committed
Jul 25, 2018
1 parent
5c9f1cb
commit da01c64
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |