pkgsrc-WIP-changes archive

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

lua-luv: Import lua-luv-1.41.0



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sat Aug 21 11:44:58 2021 +0200
Changeset:	21e649c87c4beb8363831eb72832f14cd05f2684

Added Files:
	lua-luv/DESCR
	lua-luv/Makefile
	lua-luv/PLIST
	lua-luv/buildlink3.mk
	lua-luv/distinfo

Log Message:
lua-luv: Import lua-luv-1.41.0

This library makes libuv available to lua scripts.  It was made for the
luvit project but should usable from nearly any lua project.

Completely based on devel/lua-luv with changes needed for wip/neovim.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=21e649c87c4beb8363831eb72832f14cd05f2684

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lua-luv/DESCR         |  2 ++
 lua-luv/Makefile      | 25 +++++++++++++++++++++++++
 lua-luv/PLIST         | 10 ++++++++++
 lua-luv/buildlink3.mk | 15 +++++++++++++++
 lua-luv/distinfo      |  8 ++++++++
 5 files changed, 60 insertions(+)

diffs:
diff --git a/lua-luv/DESCR b/lua-luv/DESCR
new file mode 100644
index 0000000000..590e6327d6
--- /dev/null
+++ b/lua-luv/DESCR
@@ -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.
diff --git a/lua-luv/Makefile b/lua-luv/Makefile
new file mode 100644
index 0000000000..022c9e4fa8
--- /dev/null
+++ b/lua-luv/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.2 2021/05/13 10:23:10 nia Exp $
+
+DISTNAME=	luv-1.41.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+=	-DBUILD_SHARED_LIBS=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"
diff --git a/lua-luv/PLIST b/lua-luv/PLIST
new file mode 100644
index 0000000000..66141c5e67
--- /dev/null
+++ b/lua-luv/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+include/luv/lhandle.h
+include/luv/lreq.h
+include/luv/luv.h
+include/luv/util.h
+lib/libluv.so
+lib/libluv.so.1
+lib/libluv.so.${PKGVERSION}
+${LUA_CDIR}/luv.so
+lib/pkgconfig/libluv.pc
diff --git a/lua-luv/buildlink3.mk b/lua-luv/buildlink3.mk
new file mode 100644
index 0000000000..ceeccdd575
--- /dev/null
+++ b/lua-luv/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	lua51-luv
+
+.if !defined(LUA51_LUV_BUILDLINK3_MK)
+LUA51_LUV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.lua51-luv+=	lua51-luv>=1.41.0
+BUILDLINK_PKGSRCDIR.lua51-luv?=	../../wip/lua-luv
+
+.include "../../devel/libuv/buildlink3.mk"
+
+.endif	# LUA51_LUV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-lua51-luv
diff --git a/lua-luv/distinfo b/lua-luv/distinfo
new file mode 100644
index 0000000000..2ab54fccdb
--- /dev/null
+++ b/lua-luv/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.2 2021/05/13 10:23:10 nia Exp $
+
+SHA1 (luv-1.41.0-0.tar.gz) = 3926b105a1d5294b7f46ce0aaceaebb6bac69178
+RMD160 (luv-1.41.0-0.tar.gz) = da2d8d2bb0451663af816bf91800f5b71af6164f
+SHA512 (luv-1.41.0-0.tar.gz) = ae6a74619988c972df3bf8f00330da981d70e64713d7ad68528e93e5ac118a28523b4de2a559cb537893f7df93bba0b0bb67559a538cf0e55eaced76f11ba26e
+Size (luv-1.41.0-0.tar.gz) = 1430613 bytes
+SHA1 (patch-src_luv.c) = 52ec94671dfdc86e421119ddca13646ee7c6e2e2
+SHA1 (patch-src_private.h) = f086e40c912851a319626986840fe75eeb0e52f5


Home | Main Index | Thread Index | Old Index