diff options
author | Oz N Tiram <oz.tiram@mobilityhouse.com> | 2017-12-03 15:12:06 +0100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-12-07 21:15:03 +1100 |
commit | 6ee0574f47cdce4a6fded9e5243db4aab857502b (patch) | |
tree | 206534cc7798711906fc8121a6380f3c870d5b02 /dev-libs/libuev/libuev-2.1.0.ebuild | |
parent | sys-apps/apparmor: Added systemd unit. (diff) | |
download | gentoo-6ee0574f47cdce4a6fded9e5243db4aab857502b.tar.gz gentoo-6ee0574f47cdce4a6fded9e5243db4aab857502b.tar.bz2 gentoo-6ee0574f47cdce4a6fded9e5243db4aab857502b.zip |
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
Diffstat (limited to 'dev-libs/libuev/libuev-2.1.0.ebuild')
-rw-r--r-- | dev-libs/libuev/libuev-2.1.0.ebuild | 22 |
1 files changed, 22 insertions, 0 deletions
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 +} |