diff options
author | David Seifert <soap@gentoo.org> | 2020-11-14 16:03:58 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-11-14 16:03:58 +0100 |
commit | 973a3dd43499c02472497185449556b63b6c8849 (patch) | |
tree | a10a2bd736a7d6394085d6c75a37d8e34e4f0132 /app-arch | |
parent | sys-kernel/gentoo-kernel: Use externalized configs for 5.4.77-r1 (diff) | |
download | gentoo-973a3dd43499c02472497185449556b63b6c8849.tar.gz gentoo-973a3dd43499c02472497185449556b63b6c8849.tar.bz2 gentoo-973a3dd43499c02472497185449556b63b6c8849.zip |
app-arch/libpar2: Port to EAPI 7
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/libpar2/libpar2-0.4.ebuild | 24 |
1 files changed, 11 insertions, 13 deletions
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 } |