pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/lua-cffi
Module Name: pkgsrc
Committed By: wiz
Date: Wed Apr 15 20:46:08 UTC 2026
Added Files:
pkgsrc/devel/lua-cffi: DESCR Makefile PLIST distinfo
Log Message:
devel/lua-cffi: import lua-cffi-0.2.4
Packaged by Yorick Hardy and myself in wip.
This is a portable C FFI for Lua, based on `libffi` and aiming to be mostly
compatible with LuaJIT FFI, but written from scratch. Compatibility is
preserved where reasonable, but not where not easily implementable (e.g.
the parser extensions for 64-bit `cdata` and so on). Thanks to `libffi`,
it works on many operating systems and CPU architectures. The `cffi-lua`
codebase itself does not contain any non-portable code (with the exception
of things such as Windows calling convention handling on x86, and some
adjustments for big endian architectures).
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-cffi/DESCR \
pkgsrc/devel/lua-cffi/Makefile pkgsrc/devel/lua-cffi/PLIST \
pkgsrc/devel/lua-cffi/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/lua-cffi/DESCR
diff -u /dev/null pkgsrc/devel/lua-cffi/DESCR:1.1
--- /dev/null Wed Apr 15 20:46:08 2026
+++ pkgsrc/devel/lua-cffi/DESCR Wed Apr 15 20:46:08 2026
@@ -0,0 +1,8 @@
+This is a portable C FFI for Lua, based on `libffi` and aiming to be mostly
+compatible with LuaJIT FFI, but written from scratch. Compatibility is
+preserved where reasonable, but not where not easily implementable (e.g.
+the parser extensions for 64-bit `cdata` and so on). Thanks to `libffi`,
+it works on many operating systems and CPU architectures. The `cffi-lua`
+codebase itself does not contain any non-portable code (with the exception
+of things such as Windows calling convention handling on x86, and some
+adjustments for big endian architectures).
Index: pkgsrc/devel/lua-cffi/Makefile
diff -u /dev/null pkgsrc/devel/lua-cffi/Makefile:1.1
--- /dev/null Wed Apr 15 20:46:08 2026
+++ pkgsrc/devel/lua-cffi/Makefile Wed Apr 15 20:46:08 2026
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2026/04/15 20:46:08 wiz Exp $
+
+DISTNAME= cffi-lua-0.2.4
+PKGNAME= ${DISTNAME:S/cffi-lua/lua-cffi/}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=q66/}
+GITHUB_PROJECT= cffi-lua
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/q66/cffi-lua/
+COMMENT= Portable C FFI for Lua
+LICENSE= mit
+
+USE_LANGUAGES= c++
+USE_CXX_FEATURES= c++14
+USE_TOOLS+= pkg-config
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+.include "../../devel/libffi/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../lang/lua/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/lua-cffi/PLIST
diff -u /dev/null pkgsrc/devel/lua-cffi/PLIST:1.1
--- /dev/null Wed Apr 15 20:46:08 2026
+++ pkgsrc/devel/lua-cffi/PLIST Wed Apr 15 20:46:08 2026
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2026/04/15 20:46:08 wiz Exp $
+lib/lua/5.4/cffi.so
Index: pkgsrc/devel/lua-cffi/distinfo
diff -u /dev/null pkgsrc/devel/lua-cffi/distinfo:1.1
--- /dev/null Wed Apr 15 20:46:08 2026
+++ pkgsrc/devel/lua-cffi/distinfo Wed Apr 15 20:46:08 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/04/15 20:46:08 wiz Exp $
+
+BLAKE2s (cffi-lua-0.2.4.tar.gz) = 3dfee25ecaad80693e10a00330afdc197e808c224046d570c5978f0aa4ff018c
+SHA512 (cffi-lua-0.2.4.tar.gz) = cebbfcdd2f5aa55d5e792ef775f0463260dd0781dce44a75248d9a7938486f21d06fe8daa69a0fad2486c6bcb001e1db2d59f86a835f27ca2ca13e76aad90352
+Size (cffi-lua-0.2.4.tar.gz) = 116870 bytes
Home |
Main Index |
Thread Index |
Old Index