Files
gentoo/dev-libs/libuev/libuev-2.4.1.ebuild
Michael Vetter 2603aee552 dev-libs/libuev: add 2.4.1
Signed-off-by: Michael Vetter <jubalh@iodoru.org>
Closes: https://github.com/gentoo/gentoo/pull/34651
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2024-01-07 14:41:03 +01:00

25 lines
572 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Lightweight event loop library for Linux epoll() family APIs"
HOMEPAGE="https://github.com/troglobit/libuev"
SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="static-libs"
src_configure() {
econf --enable-static=$(usex static-libs)
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
rm "${ED}"/usr/share/doc/${PF}/LICENSE || die
}