pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: nia
Date: Thu Jul 2 20:48:09 UTC 2020
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/lua-luv: DESCR Makefile PLIST distinfo
pkgsrc/devel/lua-luv/patches: patch-src_luv.c patch-src_private.h
Log Message:
devel: Add lua-luv. Based on work by Jonathan Buschmann in wip.
This library makes libuv available to lua scripts. It was made for the
luvit project but should usable from nearly any lua project.
To generate a diff of this commit:
cvs rdiff -u -r1.3154 -r1.3155 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-luv/DESCR \
pkgsrc/devel/lua-luv/Makefile pkgsrc/devel/lua-luv/PLIST \
pkgsrc/devel/lua-luv/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-luv/patches/patch-src_luv.c \
pkgsrc/devel/lua-luv/patches/patch-src_private.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3154 pkgsrc/devel/Makefile:1.3155
--- pkgsrc/devel/Makefile:1.3154 Thu Jul 2 14:53:38 2020
+++ pkgsrc/devel/Makefile Thu Jul 2 20:48:09 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3154 2020/07/02 14:53:38 nia Exp $
+# $NetBSD: Makefile,v 1.3155 2020/07/02 20:48:09 nia Exp $
#
COMMENT= Development utilities
@@ -862,6 +862,7 @@ SUBDIR+= lua-lrexlib
SUBDIR+= lua-lrexlib-onig
SUBDIR+= lua-lrexlib-pcre
SUBDIR+= lua-lrexlib-posix
+SUBDIR+= lua-luv
SUBDIR+= lua-mode
SUBDIR+= lua-penlight
SUBDIR+= lua-posix
Added files:
Index: pkgsrc/devel/lua-luv/DESCR
diff -u /dev/null pkgsrc/devel/lua-luv/DESCR:1.1
--- /dev/null Thu Jul 2 20:48:09 2020
+++ pkgsrc/devel/lua-luv/DESCR Thu Jul 2 20:48:09 2020
@@ -0,0 +1,2 @@
+This library makes libuv available to lua scripts. It was made for the
+luvit project but should usable from nearly any lua project.
Index: pkgsrc/devel/lua-luv/Makefile
diff -u /dev/null pkgsrc/devel/lua-luv/Makefile:1.1
--- /dev/null Thu Jul 2 20:48:09 2020
+++ pkgsrc/devel/lua-luv/Makefile Thu Jul 2 20:48:09 2020
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2020/07/02 20:48:09 nia Exp $
+
+DISTNAME= luv-1.36.0-0
+PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/-0//1}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=luvit/}
+GITHUB_PROJECT= luv
+GITHUB_RELEASE= ${PKGVERSION_NOREV}-0
+
+MAINTAINER= nia%NetBSD.org@localhost
+HOMEPAGE= https://github.com/luvit/luv
+COMMENT= Bare libuv bindings for Lua
+LICENSE= apache-2.0
+
+USE_CMAKE= yes
+
+CMAKE_ARGS+= -DWITH_SHARED_LIBUV=ON
+CMAKE_ARGS+= -DBUILD_MODULE=ON
+CMAKE_ARGS+= -DLUA_BUILD_TYPE=System
+CMAKE_ARGS+= -DWITH_LUA_ENGINE=Lua
+
+.include "../../lang/lua/module.mk"
+.include "../../devel/libuv/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/lua-luv/PLIST
diff -u /dev/null pkgsrc/devel/lua-luv/PLIST:1.1
--- /dev/null Thu Jul 2 20:48:09 2020
+++ pkgsrc/devel/lua-luv/PLIST Thu Jul 2 20:48:09 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/02 20:48:09 nia Exp $
+${LUA_CDIR}/luv.so
Index: pkgsrc/devel/lua-luv/distinfo
diff -u /dev/null pkgsrc/devel/lua-luv/distinfo:1.1
--- /dev/null Thu Jul 2 20:48:09 2020
+++ pkgsrc/devel/lua-luv/distinfo Thu Jul 2 20:48:09 2020
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2020/07/02 20:48:09 nia Exp $
+
+SHA1 (luv-1.36.0-0.tar.gz) = f070256fe5567c1d475d2c6337c01d7e87d3a4aa
+RMD160 (luv-1.36.0-0.tar.gz) = 950a7289b11105be4d438fa6a022e1225c6ec141
+SHA512 (luv-1.36.0-0.tar.gz) = 9972d82bacdcf528d95047f3f2cfbceb523f6d6f5782e577b24cdd25f1292df745d3fb116b6fbd376d797df47c378ad25d5b673044d9ab5678af6e5fef5eca49
+Size (luv-1.36.0-0.tar.gz) = 1387184 bytes
+SHA1 (patch-src_luv.c) = 52ec94671dfdc86e421119ddca13646ee7c6e2e2
+SHA1 (patch-src_private.h) = f086e40c912851a319626986840fe75eeb0e52f5
Index: pkgsrc/devel/lua-luv/patches/patch-src_luv.c
diff -u /dev/null pkgsrc/devel/lua-luv/patches/patch-src_luv.c:1.1
--- /dev/null Thu Jul 2 20:48:09 2020
+++ pkgsrc/devel/lua-luv/patches/patch-src_luv.c Thu Jul 2 20:48:09 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_luv.c,v 1.1 2020/07/02 20:48:09 nia Exp $
+
+Support Lua 5.4
+
+--- src/luv.c.orig 2020-04-19 08:44:19.000000000 +0000
++++ src/luv.c
+@@ -16,7 +16,7 @@
+ */
+
+ #include <lua.h>
+-#if (LUA_VERSION_NUM != 503)
++#if (LUA_VERSION_NUM < 503)
+ #include "compat-5.3.h"
+ #endif
+ #include "luv.h"
Index: pkgsrc/devel/lua-luv/patches/patch-src_private.h
diff -u /dev/null pkgsrc/devel/lua-luv/patches/patch-src_private.h:1.1
--- /dev/null Thu Jul 2 20:48:09 2020
+++ pkgsrc/devel/lua-luv/patches/patch-src_private.h Thu Jul 2 20:48:09 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_private.h,v 1.1 2020/07/02 20:48:09 nia Exp $
+
+Support Lua 5.4
+
+--- src/private.h.orig 2020-04-19 08:44:19.000000000 +0000
++++ src/private.h
+@@ -2,7 +2,7 @@
+ #define LUV_PRIVATE_H
+
+ #include <lua.h>
+-#if (LUA_VERSION_NUM != 503)
++#if (LUA_VERSION_NUM < 503)
+ #include "compat-5.3.h"
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index