From 6ee0574f47cdce4a6fded9e5243db4aab857502b Mon Sep 17 00:00:00 2001 From: Oz N Tiram Date: Sun, 3 Dec 2017 15:12:06 +0100 Subject: dev-libs/libuev: Simple event loop for Linux libuev is a simple event loop in the style of the more established libevent, libev and the venerable Xt(3) event loop. The u (micro) in the name refers to both the small feature set and the small size overhead impact of the library. Experienced developers may appreciate that libuEv is built on top of modern Linux APIs: epoll, timerfd and signalfd. Note however, a certain amount of care is needed when dealing with APIs that employ signalfd. Libuev is required for net-ftp/uftpd (see bug https://bugs.gentoo.org/639564). Closes: https://bugs.gentoo.org/639630 Closes: https://github.com/gentoo/gentoo/pull/6423 Package-Manager: Portage-2.3.13, Repoman-2.3.1 --- dev-libs/libuev/Manifest | 1 + dev-libs/libuev/libuev-2.1.0.ebuild | 22 ++++++++++++++++++++++ dev-libs/libuev/metadata.xml | 20 ++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 dev-libs/libuev/Manifest create mode 100644 dev-libs/libuev/libuev-2.1.0.ebuild create mode 100644 dev-libs/libuev/metadata.xml (limited to 'dev-libs') diff --git a/dev-libs/libuev/Manifest b/dev-libs/libuev/Manifest new file mode 100644 index 000000000000..56cc5b76b113 --- /dev/null +++ b/dev-libs/libuev/Manifest @@ -0,0 +1 @@ +DIST libuev-2.1.0.tar.xz 247388 BLAKE2B e2934fb79e32bf61e22a7c8fcdd6371f089c5e8a4f5b3039c10c90abd852d08c5612f7b871ef705afdca68857a270dfd133a1436cd9f49876e0bf47b903e6328 SHA512 82bd68c75f015284d3757886720d1a0e5689cf71b40b896410e5e4e952761fe05b090a33e0787f632afa7726567667e4dbbbc6270129828656953ded6d28d02b diff --git a/dev-libs/libuev/libuev-2.1.0.ebuild b/dev-libs/libuev/libuev-2.1.0.ebuild new file mode 100644 index 000000000000..661b7402fb61 --- /dev/null +++ b/dev-libs/libuev/libuev-2.1.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A collection of useful BSD 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 +} diff --git a/dev-libs/libuev/metadata.xml b/dev-libs/libuev/metadata.xml new file mode 100644 index 000000000000..55df3087918b --- /dev/null +++ b/dev-libs/libuev/metadata.xml @@ -0,0 +1,20 @@ + + + + + Oz Tiram + oz.tiram@gmail.com + + + proxy-maint@gentoo.org + + + libuEv is a simple event loop in the style of the more established + libevent, libev and the venerable Xt(3) event loop. The u (micro) in the + name refers to both the small feature set and the small size overhead + impact of the library. + + + troglobit/libuev + + -- cgit v1.2.3-65-gdbad