diff options
Diffstat (limited to 'net-libs/enet')
-rw-r--r-- | net-libs/enet/Manifest | 3 | ||||
-rw-r--r-- | net-libs/enet/enet-1.3.17-r1.ebuild | 31 | ||||
-rw-r--r-- | net-libs/enet/enet-1.3.17.ebuild | 7 |
3 files changed, 40 insertions, 1 deletions
diff --git a/net-libs/enet/Manifest b/net-libs/enet/Manifest index 0258bfb1a75b..ba9d0d90d19a 100644 --- a/net-libs/enet/Manifest +++ b/net-libs/enet/Manifest @@ -1,3 +1,4 @@ DIST enet-1.3.17.tar.gz 703278 BLAKE2B d31838a173f629a2216f59173c259cf7cb35985913c5f8f016641ceb189dc20308effa206f03391cafde842ad6e43ec1776d38ce02283bd5990ccf38eadf4d6b SHA512 efa0cb093a6ca295e5012a4fdebc5ffd6516a66a967e97b386b72781b18ce4a118c9bf94e87adbbdcd0ed441e22c62a05c24ff39fd6b475919e8efe9ab4715e4 -EBUILD enet-1.3.17.ebuild 589 BLAKE2B 4cd8a0f1bbd5e8d6c085e559209b7de43260bf6a369476f9da4a748805d7e64c890cb5459bb643c307bd3550343f03774afe5754856439829408532f40f79fc3 SHA512 224adf9e5c975e3e85f1c4a0e6e4cf3c8a4819b4b60df918a76ce1902b53c9274d79dc3681e75ac7896e1fd9ee08786bd3ff3acc5f8ddf71f8a05874ef3c340c +EBUILD enet-1.3.17-r1.ebuild 651 BLAKE2B 774101b32dd8e39315a591756d748eabeded15ad08128ac9412fb49bbb986aa664c3236d810caf4dd4578b2cdbcbacebaa31f38077b97be95afa0aea28ba9e8e SHA512 9742b9c5ebdb0f30309cd58daec6952720fe273c6b5bd66a48c3c2dc5c29e9c79a78b838542877bb9c0b1dd76caee8ae815736ba08f1c1f459f3ebc402c188be +EBUILD enet-1.3.17.ebuild 647 BLAKE2B 51c3569a5f8eb3923b3585804a9dc2e5dd74e76e844f2c9f0b8942ff945923400e4fe30d47a408d6e1c616469b38f93f2d10bbbd40cb4a1b8620749e51babe5e SHA512 689c3e54ef29a620b40e225016c4b2b09f3aa36db43ac6ff64e251c4db64355d888195eeecf331d136c21ed27dc1858cd02ddfdc68dbcd3166cf580e76fe7a93 MISC metadata.xml 412 BLAKE2B 531f035737f5646642c3d08352d94b25a3fb7e96d8c6a52e9c1f1b3c69af949dda25456c32cfb599ebfca68657cb8699afbb4f583b69d929dd4693f65f01ed51 SHA512 acb6f886f4759fbed4bdb5c785b3f38eb5e1d8d07def250f8678db4fb00c96cec8ef0f7397b10b0aac7dcd2f6a243c0a4930c2de52d7c5339532a4c2ffa6c4c5 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 +} diff --git a/net-libs/enet/enet-1.3.17.ebuild b/net-libs/enet/enet-1.3.17.ebuild index 73fe10687078..e3d3d51f4903 100644 --- a/net-libs/enet/enet-1.3.17.ebuild +++ b/net-libs/enet/enet-1.3.17.ebuild @@ -3,6 +3,8 @@ EAPI=7 +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" @@ -14,6 +16,11 @@ IUSE="static-libs" RDEPEND="!${CATEGORY}/${PN}:0" +src_prepare() { + default + elibtoolize +} + src_configure() { econf $(use_enable static-libs static) } |