From 2617b2d3caefcf425f73e7141a0ee8b1e7946089 Mon Sep 17 00:00:00 2001 From: sno Date: Sat, 8 Aug 2009 19:40:37 +0000 Subject: 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. --- 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(+) create mode 100644 devel/libev/DESCR create mode 100644 devel/libev/Makefile create mode 100644 devel/libev/PLIST create mode 100644 devel/libev/buildlink3.mk create mode 100644 devel/libev/distinfo (limited to 'devel/libev') diff --git a/devel/libev/DESCR b/devel/libev/DESCR new file mode 100644 index 00000000000..e717b1c4654 --- /dev/null +++ b/devel/libev/DESCR @@ -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 --git a/devel/libev/Makefile b/devel/libev/Makefile new file mode 100644 index 00000000000..dc3f621cdcf --- /dev/null +++ b/devel/libev/Makefile @@ -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 +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 --git a/devel/libev/PLIST b/devel/libev/PLIST new file mode 100644 index 00000000000..cd7c304f278 --- /dev/null +++ b/devel/libev/PLIST @@ -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 --git a/devel/libev/buildlink3.mk b/devel/libev/buildlink3.mk new file mode 100644 index 00000000000..db5e00634e2 --- /dev/null +++ b/devel/libev/buildlink3.mk @@ -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 --git a/devel/libev/distinfo b/devel/libev/distinfo new file mode 100644 index 00000000000..0ff19b4b225 --- /dev/null +++ b/devel/libev/distinfo @@ -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 -- cgit v1.2.3