From f1af93971b7490792d8541bc790e0d8c6d787059 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Sep 2019 10:28:05 +0100 Subject: gentoo resync : 06.08.2019 --- dev-libs/ell/ell-0.22.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 dev-libs/ell/ell-0.22.ebuild (limited to 'dev-libs/ell/ell-0.22.ebuild') diff --git a/dev-libs/ell/ell-0.22.ebuild b/dev-libs/ell/ell-0.22.ebuild new file mode 100644 index 000000000000..cafd42ed2ce6 --- /dev/null +++ b/dev-libs/ell/ell-0.22.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic multilib-minimal + +DESCRIPTION="Embedded Linux Library provides core, low-level functionality for system daemons" +HOMEPAGE="https://01.org/ell" +if [[ "${PV}" == *9999 ]] ; then + inherit autotools git-r3 + EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git" +else + SRC_URI="https://mirrors.edge.kernel.org/pub/linux/libs/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +fi +LICENSE="LGPL-2.1" +SLOT="0" + +IUSE="glib pie" + +RDEPEND=" + glib? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + default + [[ "${PV}" == *9999 ]] && eautoreconf +} + +multilib_src_configure() { + append-cflags "-fsigned-char" #662694 + 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 +} -- cgit v1.2.3