From 973a3dd43499c02472497185449556b63b6c8849 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 14 Nov 2020 16:03:58 +0100 Subject: app-arch/libpar2: Port to EAPI 7 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: David Seifert --- app-arch/libpar2/libpar2-0.4.ebuild | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'app-arch') diff --git a/app-arch/libpar2/libpar2-0.4.ebuild b/app-arch/libpar2/libpar2-0.4.ebuild index 6408f5475665..31de2a7569ff 100644 --- a/app-arch/libpar2/libpar2-0.4.ebuild +++ b/app-arch/libpar2/libpar2-0.4.ebuild @@ -1,9 +1,7 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit autotools-utils flag-o-matic +EAPI=7 DESCRIPTION="A library for par2, extracted from par2cmdline" HOMEPAGE="https://launchpad.net/libpar2/" @@ -12,18 +10,18 @@ SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" -IUSE="static-libs" RDEPEND="dev-libs/libsigc++:2" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" -DOCS=( AUTHORS ChangeLog README ) +src_configure() { + econf --disable-static +} -# Needed to install all headers properly (bug #391815) -AUTOTOOLS_IN_SOURCE_BUILD=1 +src_install() { + default -src_prepare() { - autotools-utils_src_prepare - append-cxxflags -std=c++11 #567498 + # no static archives + find "${ED}" -name '*.la' -delete || die } -- cgit v1.2.3-18-g5258