From: David Seifert Date: Thu, 12 Dec 2019 17:31:04 +0000 (+0100) Subject: media-libs/libirman: Port to EAPI 7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=96834142cdc8410794fe22be11421ae0dc9bf54f;p=gentoo.git media-libs/libirman: Port to EAPI 7 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert --- diff --git a/media-libs/libirman/libirman-0.4.5.ebuild b/media-libs/libirman/libirman-0.4.5.ebuild index 5dddb2d83849..f8f4a774babb 100644 --- a/media-libs/libirman/libirman-0.4.5.ebuild +++ b/media-libs/libirman/libirman-0.4.5.ebuild @@ -1,30 +1,35 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -AUTOTOOLS_AUTORECONF=yes - -inherit autotools-utils eutils toolchain-funcs +inherit autotools toolchain-funcs DESCRIPTION="library for Irman control of Unix software" HOMEPAGE="http://www.lirc.org/software/snapshots/" SRC_URI="http://www.lirc.org/software/snapshots/${P}.tar.bz2" -SLOT="0" LICENSE="GPL-2 LGPL-2" +SLOT="0" KEYWORDS="amd64 ppc ppc64 x86" -IUSE="static-libs" - -DOCS=( TECHNICAL NEWS README TODO ) src_prepare() { + default + eautoreconf +} + +src_configure() { tc-export CC LD AR RANLIB - autotools-utils_src_prepare + econf --disable-static } src_install() { - autotools-utils_src_install LIRC_DRIVER_DEVICE="${D}/dev/lirc" + export LIRC_DRIVER_DEVICE="${ED}/dev/lirc" + default + dodoc TECHNICAL + + dobin test_{func,io,name} - dobin ${AUTOTOOLS_BUILD_DIR}/test_{func,io,name} + # no static archives + find "${D}" -name '*.la' -delete || die }