diff options
author | 2021-12-25 00:31:13 +0100 | |
---|---|---|
committer | 2021-12-25 23:20:08 +0000 | |
commit | e52c2188a04febeb10a1e1939d4fcbaa36ccc118 (patch) | |
tree | df8aa3fc40e7abc78c54692a3dc75190ebe0eb0f /dev-libs/libuev/libuev-2.4.0.ebuild | |
parent | dev-libs/libite: use ${ED} (diff) | |
download | gentoo-e52c2188a04febeb10a1e1939d4fcbaa36ccc118.tar.gz gentoo-e52c2188a04febeb10a1e1939d4fcbaa36ccc118.tar.bz2 gentoo-e52c2188a04febeb10a1e1939d4fcbaa36ccc118.zip |
dev-libs/libuev: add 2.4.0
Signed-off-by: Oz N Tiram <oz.tiram@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libuev/libuev-2.4.0.ebuild')
-rw-r--r-- | dev-libs/libuev/libuev-2.4.0.ebuild | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-libs/libuev/libuev-2.4.0.ebuild b/dev-libs/libuev/libuev-2.4.0.ebuild new file mode 100644 index 000000000000..d82689f38da8 --- /dev/null +++ b/dev-libs/libuev/libuev-2.4.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~x86" +IUSE="static-libs" + +src_configure() { + econf --enable-static=$(usex static-libs) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die + rm "${D}/usr/share/doc/${PF}/LICENSE" || die +} |