pkgsrc-WIP-changes archive

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

lua-luv: Import lua-luv (from wip/luv initially)



Module Name:	pkgsrc-wip
Committed By:	Jonathan Buschmann <jonthn+pkgsrc%pinacea.com@localhost>
Pushed By:	jonthn
Date:		Wed Jan 1 21:50:50 2020 +0800
Changeset:	9e81b5f4286a013acee85bfa1ea8de1e3e395e19

Modified Files:
	Makefile
Added Files:
	lua-luv/DESCR
	lua-luv/Makefile
	lua-luv/PLIST
	lua-luv/TODO
	lua-luv/distinfo

Log Message:
lua-luv:  Import lua-luv (from wip/luv initially)

 Lua module version of luv library (see wip/luv)

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

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

diffstat:
 Makefile         |  1 +
 lua-luv/DESCR    |  2 ++
 lua-luv/Makefile | 26 ++++++++++++++++++++++++++
 lua-luv/PLIST    |  2 ++
 lua-luv/TODO     |  3 +++
 lua-luv/distinfo |  6 ++++++
 6 files changed, 40 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index be16afcd92..c64801e468 100644
--- a/Makefile
+++ b/Makefile
@@ -2060,6 +2060,7 @@ SUBDIR+=	lua-MessagePack
 SUBDIR+=	lua-lbn
 SUBDIR+=	lua-ldoc
 SUBDIR+=	lua-luafilesystem
+SUBDIR+=	lua-luv
 SUBDIR+=	lua-mpack
 SUBDIR+=	lua-penlight
 SUBDIR+=	luabind
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..5ad9f48262
--- /dev/null
+++ b/lua-luv/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+
+DISTNAME=	lua-luv-1.32.0
+PKGNAME=	${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=luvit/}
+GITHUB_PROJECT=	luv
+GITHUB_TAG=	${PKGVERSION_NOREV}-0
+
+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_SHARED_LIBS=ON
+CMAKE_ARGS+=	-DBUILD_MODULE=ON
+CMAKE_ARGS+=	-DLUA_BUILD_TYPE=System
+CMAKE_ARGS+=	-DLUA_COMPAT53_DIR=${PREFIX}/${LUA_LDIR}/compat53/
+CMAKE_ARGS+=	-DCMAKE_C_FLAGS="-I${PREFIX}/${LUA_INCDIR} -I${PREFIX}/${LUA_LDIR}/compat53"
+
+.include "../../wip/lua-compat53/buildlink3.mk"
+.include "../../devel/libuv/buildlink3.mk"
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lua-luv/PLIST b/lua-luv/PLIST
new file mode 100644
index 0000000000..296311e081
--- /dev/null
+++ b/lua-luv/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+${LUA_CDIR}/luv.so
diff --git a/lua-luv/TODO b/lua-luv/TODO
new file mode 100644
index 0000000000..232c23ba13
--- /dev/null
+++ b/lua-luv/TODO
@@ -0,0 +1,3 @@
+- The source code "vendors" Lua, LuaJIT and libuv as Git submodules --
+  should we just use them, or try to coerce this packge to use those as
+  dependiences?
diff --git a/lua-luv/distinfo b/lua-luv/distinfo
new file mode 100644
index 0000000000..a2e398d9b5
--- /dev/null
+++ b/lua-luv/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (lua-luv-1.32.0.tar.gz) = 1dc5e61c3ad14b1a261afddf72ba6e92aa828d57
+RMD160 (lua-luv-1.32.0.tar.gz) = 725f6a429dfcd697b6b3d10d431227ada8dc8558
+SHA512 (lua-luv-1.32.0.tar.gz) = 7db52afc1ca79052e349be7a37deb67066ee9005f8d7f7d0dae62bd83a93b4140103ee6dddeca2e02a3fc37b3880a5c18904429886af1d441f8de0cfabf5bd8c
+Size (lua-luv-1.32.0.tar.gz) = 91349 bytes


Home | Main Index | Thread Index | Old Index