Sat Mar 2 07:43:40 2013 UTC ()
import libuv, the platform layer for node.js, and an asynchronous event
library, into the Packages Collection.
libuv is used as the platform layer for node.js
libuv enforces an asynchronous, event-driven style of programming.
Its core job is to provide an event loop and callback based
notifications of I/O and other activities. libuv offers core
utilities like timers, non-blocking networking support, asynchronous
file system access, child processes and more.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
(agc)
diff -r0 -r1.1.1.1 pkgsrc/devel/libuv/Makefile
diff -r0 -r1.1.1.1 pkgsrc/devel/libuv/DESCR
diff -r0 -r1.1.1.1 pkgsrc/devel/libuv/PLIST
diff -r0 -r1.1.1.1 pkgsrc/devel/libuv/distinfo
diff -r0 -r1.1.1.1 pkgsrc/devel/libuv/patches/patch-aa
# $NetBSD: Makefile,v 1.1.1.1 2013/03/02 07:43:40 agc Exp $
#
DISTNAME= master
PKGNAME= libuv-20130301
CATEGORIES= devel
MASTER_SITES= https://github.com/joyent/libuv/archive/
EXTRACT_SUFX= .zip
MAINTAINER= agc@pkgsrc.org
HOMEPAGE= http://nikhilm.github.com/uvbook/
COMMENT= Asynchronous event library, platform layer of node.js
LICENSE= joyent
DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}/libuv-master
USE_TOOLS+= gmake
AUTO_MKDIRS= yes
do-install:
${INSTALL_DATA} ${WRKSRC}/include/uv.h ${DESTDIR}${PREFIX}/include/uv.h
${INSTALL_LIB} ${WRKSRC}/libuv.a ${DESTDIR}${PREFIX}/lib/libuv.a
.include "../../mk/bsd.pkg.mk"
libuv is used as the platform layer for node.js
libuv enforces an asynchronous, event-driven style of programming.
Its core job is to provide an event loop and callback based
notifications of I/O and other activities. libuv offers core
utilities like timers, non-blocking networking support, asynchronous
file system access, child processes and more.
@comment $NetBSD: PLIST,v 1.1.1.1 2013/03/02 07:43:40 agc Exp $
include/uv.h
lib/libuv.a
$NetBSD: distinfo,v 1.1.1.1 2013/03/02 07:43:40 agc Exp $
SHA1 (master.zip) = 1caf616d42d9a2a9ab5dd4d0712de2817baf04bc
RMD160 (master.zip) = 244d503838bb3759cb3941d88cd80704faaa24a2
Size (master.zip) = 506825 bytes
SHA1 (patch-aa) = a14917e8fa7a5c74ab53727d6ec6b3c1dc77bf44
$NetBSD: patch-aa,v 1.1.1.1 2013/03/02 07:43:40 agc Exp $
modern netbsd needs uvm_extern.h header file
--- src/unix/netbsd.c 2013/03/01 18:45:51 1.1
+++ src/unix/netbsd.c 2013/03/01 18:47:24
@@ -38,6 +38,8 @@
#include <sys/types.h>
#include <sys/sysctl.h>
+#include <uvm/uvm_extern.h>
+
#include <unistd.h>
#include <time.h>