mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
Needed to e.g. pass LTO warning flags through to the linker. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
32 lines
647 B
Bash
32 lines
647 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
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"
|
|
|
|
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
|
|
}
|