pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libev Importing package for libev-3.7 (recommend...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3b07af69c0c
branches:  trunk
changeset: 397088:d3b07af69c0c
user:      sno <sno%pkgsrc.org@localhost>
date:      Sat Aug 08 19:40:37 2009 +0000

description:
Importing package for libev-3.7 (recommended dependency for p5
module AnyEvent).

Libev is modelled (very losely) after libevent and the Event perl
module, but is faster, scales better and is more correct, and also more
featureful. And also smaller. Yay.

Some of the specialties of libev not commonly found elsewhere are:

- extensive and detailed, readable documentation (not doxygen garbage).
- fully supports fork, can detect fork in various ways and automatically
  re-arms kernel mechanisms that do not support fork.
- highly optimised select, poll, epoll, kqueue and event ports backends.
- filesystem object (path) watching (with optional linux inotify support).
- wallclock-based times (using absolute time, cron-like).
- relative timers/timeouts (handle time jumps).
- fast intra-thread communication between multiple
  event loops (with optional fast linux eventfd backend).
- extremely easy to embed.
- very small codebase, no bloated library.
- fully extensible by being able to plug into the event loop,
  integrate other event loops, integrate other event loop users.
- very little memory use (small watchers, small event loop data).
- optional C++ interface allowing method and function callbacks
  at no extra memory or runtime overhead.
- optional Perl interface with similar characteristics (capable
  of running Glib/Gtk2 on libev, interfaces with Net::SNMP and
  libadns).
- support for other languages (multiple C++ interfaces, D, Ruby,
  Python) available from third-parties.

Examples of programs that embed libev: the EV perl module,
rxvt-unicode, gvpe (GNU Virtual Private Ethernet), the Deliantra MMORPG
server (http://www.deliantra.net/), Rubinius (a next-generation Ruby
VM), the Ebb web server, the Rev event toolkit.

diffstat:

 devel/libev/DESCR         |  32 ++++++++++++++++++++++++++++++++
 devel/libev/Makefile      |  20 ++++++++++++++++++++
 devel/libev/PLIST         |   6 ++++++
 devel/libev/buildlink3.mk |  13 +++++++++++++
 devel/libev/distinfo      |   5 +++++
 5 files changed, 76 insertions(+), 0 deletions(-)

diffs (96 lines):

diff -r 760093cdf660 -r d3b07af69c0c devel/libev/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libev/DESCR Sat Aug 08 19:40:37 2009 +0000
@@ -0,0 +1,32 @@
+Libev is modelled (very losely) after libevent and the Event perl
+module, but is faster, scales better and is more correct, and also more
+featureful. And also smaller. Yay.
+
+Some of the specialties of libev not commonly found elsewhere are:
+
+- extensive and detailed, readable documentation (not doxygen garbage).
+- fully supports fork, can detect fork in various ways and automatically
+  re-arms kernel mechanisms that do not support fork.
+- highly optimised select, poll, epoll, kqueue and event ports backends.
+- filesystem object (path) watching (with optional linux inotify support).
+- wallclock-based times (using absolute time, cron-like).
+- relative timers/timeouts (handle time jumps).
+- fast intra-thread communication between multiple
+  event loops (with optional fast linux eventfd backend).
+- extremely easy to embed.
+- very small codebase, no bloated library.
+- fully extensible by being able to plug into the event loop,
+  integrate other event loops, integrate other event loop users.
+- very little memory use (small watchers, small event loop data).
+- optional C++ interface allowing method and function callbacks
+  at no extra memory or runtime overhead.
+- optional Perl interface with similar characteristics (capable
+  of running Glib/Gtk2 on libev, interfaces with Net::SNMP and
+  libadns).
+- support for other languages (multiple C++ interfaces, D, Ruby,
+  Python) available from third-parties.
+
+Examples of programs that embed libev: the EV perl module,
+rxvt-unicode, gvpe (GNU Virtual Private Ethernet), the Deliantra MMORPG
+server (http://www.deliantra.net/), Rubinius (a next-generation Ruby
+VM), the Ebb web server, the Rev event toolkit.
diff -r 760093cdf660 -r d3b07af69c0c devel/libev/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libev/Makefile      Sat Aug 08 19:40:37 2009 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/08 19:40:37 sno Exp $
+
+DISTNAME=      libev-3.7
+PKGNAME=       ${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  http://dist.schmorp.de/libev/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://software.schmorp.de/pkg/libev.html
+COMMENT=       A full-featured and high-performance event loop
+LICENSE=       modified-bsd OR gnu-gpl-v2 # NOTE: 2-clause BSD
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+#TEST_TARGET=  verify
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+.include "../../mk/bsd.prefs.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 760093cdf660 -r d3b07af69c0c devel/libev/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libev/PLIST Sat Aug 08 19:40:37 2009 +0000
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/08 19:40:37 sno Exp $
+include/ev++.h
+include/ev.h
+include/event.h
+lib/libev.la
+man/man3/ev.3
diff -r 760093cdf660 -r d3b07af69c0c devel/libev/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libev/buildlink3.mk Sat Aug 08 19:40:37 2009 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/08/08 19:40:37 sno Exp $
+
+BUILDLINK_TREE+=       libev
+
+.if !defined(LIBEV_BUILDLINK3_MK)
+LIBEV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libev+=libev>=3.7
+BUILDLINK_ABI_DEPENDS.libev+=libev>=3.7
+BUILDLINK_PKGSRCDIR.libev?=    ../../devel/libev
+.endif # LIBEV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libev
diff -r 760093cdf660 -r d3b07af69c0c devel/libev/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libev/distinfo      Sat Aug 08 19:40:37 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/08 19:40:37 sno Exp $
+
+SHA1 (libev-3.7.tar.gz) = eefd99ef01b15a64c32bf36a1955d2f13bd06e21
+RMD160 (libev-3.7.tar.gz) = 464c5b3ec097495f7c31ea5a108c9c6f839c1ab5
+Size (libev-3.7.tar.gz) = 463344 bytes



Home | Main Index | Thread Index | Old Index