commit: 67ff77e87f243a28e94620a89843a8b631591ae8 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Apr 19 18:43:17 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Apr 19 19:12:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67ff77e8
net-libs/gsnmp: port to EAPI 7 Signed-off-by: Sam James <sam <AT> gentoo.org> net-libs/gsnmp/gsnmp-0.3.0.ebuild | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/net-libs/gsnmp/gsnmp-0.3.0.ebuild b/net-libs/gsnmp/gsnmp-0.3.0.ebuild index e38b808d2f6..03183265f56 100644 --- a/net-libs/gsnmp/gsnmp-0.3.0.ebuild +++ b/net-libs/gsnmp/gsnmp-0.3.0.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit autotools epatch ltprune +inherit autotools DESCRIPTION="An SNMP library based on glib and gnet" HOMEPAGE="https://github.com/schoenw/gsnmp" @@ -19,14 +19,18 @@ DEPEND=" net-libs/gnet " RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" -DOCS="README" +DOCS=( README ) + +PATCHES=( + "${FILESDIR}"/${P}-g_access.patch + "${FILESDIR}"/${P}-pkg_config.patch + "${FILESDIR}"/${P}-underquoting.patch +) src_prepare() { - epatch \ - "${FILESDIR}"/${P}-g_access.patch \ - "${FILESDIR}"/${P}-pkg_config.patch \ - "${FILESDIR}"/${P}-underquoting.patch + default eautoreconf } @@ -38,5 +42,5 @@ src_configure() { src_install() { default - prune_libtool_files + find "${ED}" -name '*.la' -delete || die }
