commit: cd038fa2c680a1bd5a11d0ed88d3ab392a8aa273 Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com> AuthorDate: Tue Mar 19 00:09:32 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Mar 19 03:20:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd038fa2
net-libs/enet: update EAPI 7 -> 8 Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> net-libs/enet/enet-1.3.17-r1.ebuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/net-libs/enet/enet-1.3.17-r1.ebuild b/net-libs/enet/enet-1.3.17-r1.ebuild new file mode 100644 index 000000000000..dc2968cf210a --- /dev/null +++ b/net-libs/enet/enet-1.3.17-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit libtool + +DESCRIPTION="Relatively thin, simple and robust network communication layer on top of UDP" +HOMEPAGE="http://enet.bespin.org/ https://github.com/lsalzman/enet/" +SRC_URI="http://enet.bespin.org/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="1.3/7" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="static-libs" + +RDEPEND="!${CATEGORY}/${PN}:0" + +src_prepare() { + default + elibtoolize +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}