pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lua-vstruct



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Aug  6 23:17:57 UTC 2020

Added Files:
        pkgsrc/devel/lua-vstruct: DESCR Makefile PLIST distinfo

Log Message:
Add lua-vstruct-2.1.1:

VStruct is a Lua library to provide functions for manipulating binary
data, in particular for reading binary files or byte buffers into Lua
values and for writing Lua values back into files or buffers. Supported
data types include:

- signed and unsigned integers of arbitrary size
- fixed and floating point numbers
- fixed-size, length-prefixed, and null-terminated strings
- booleans and bitmasks
- bit-packed integers, booleans and bitmasks

In addition, the library supports seeking, alignment, and byte order
controls, repetition, grouping of data into tables, and named fields.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-vstruct/DESCR \
    pkgsrc/devel/lua-vstruct/Makefile pkgsrc/devel/lua-vstruct/PLIST \
    pkgsrc/devel/lua-vstruct/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-vstruct/DESCR
diff -u /dev/null pkgsrc/devel/lua-vstruct/DESCR:1.1
--- /dev/null   Thu Aug  6 23:17:57 2020
+++ pkgsrc/devel/lua-vstruct/DESCR      Thu Aug  6 23:17:57 2020
@@ -0,0 +1,13 @@
+VStruct is a Lua library to provide functions for manipulating binary
+data, in particular for reading binary files or byte buffers into Lua
+values and for writing Lua values back into files or buffers. Supported
+data types include:
+
+- signed and unsigned integers of arbitrary size
+- fixed and floating point numbers
+- fixed-size, length-prefixed, and null-terminated strings
+- booleans and bitmasks
+- bit-packed integers, booleans and bitmasks
+
+In addition, the library supports seeking, alignment, and byte order
+controls, repetition, grouping of data into tables, and named fields.
Index: pkgsrc/devel/lua-vstruct/Makefile
diff -u /dev/null pkgsrc/devel/lua-vstruct/Makefile:1.1
--- /dev/null   Thu Aug  6 23:17:57 2020
+++ pkgsrc/devel/lua-vstruct/Makefile   Thu Aug  6 23:17:57 2020
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2020/08/06 23:17:57 joerg Exp $
+
+DISTNAME=      vstruct-2.1.1
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ToxicFrog/}
+GITHUB_PROJECT=        vstruct
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ToxicFrog/vstruct/
+COMMENT=       Binary data manipulation function
+LICENSE=       mit
+
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}/vstruct/ast ${LUA_LDIR}/vstruct/io
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/*.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/vstruct
+       ${INSTALL_DATA} ${WRKSRC}/ast/*.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/vstruct/ast
+       ${INSTALL_DATA} ${WRKSRC}/io/*.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/vstruct/io
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/lua-vstruct/PLIST
diff -u /dev/null pkgsrc/devel/lua-vstruct/PLIST:1.1
--- /dev/null   Thu Aug  6 23:17:57 2020
+++ pkgsrc/devel/lua-vstruct/PLIST      Thu Aug  6 23:17:57 2020
@@ -0,0 +1,37 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/06 23:17:57 joerg Exp $
+${LUA_LDIR}/vstruct/api.lua
+${LUA_LDIR}/vstruct/ast.lua
+${LUA_LDIR}/vstruct/ast/Bitpack.lua
+${LUA_LDIR}/vstruct/ast/IO.lua
+${LUA_LDIR}/vstruct/ast/List.lua
+${LUA_LDIR}/vstruct/ast/Name.lua
+${LUA_LDIR}/vstruct/ast/Node.lua
+${LUA_LDIR}/vstruct/ast/Repeat.lua
+${LUA_LDIR}/vstruct/ast/Root.lua
+${LUA_LDIR}/vstruct/ast/Table.lua
+${LUA_LDIR}/vstruct/compat1x.lua
+${LUA_LDIR}/vstruct/cursor.lua
+${LUA_LDIR}/vstruct/frexp.lua
+${LUA_LDIR}/vstruct/init.lua
+${LUA_LDIR}/vstruct/io.lua
+${LUA_LDIR}/vstruct/io/a.lua
+${LUA_LDIR}/vstruct/io/b.lua
+${LUA_LDIR}/vstruct/io/bigendian.lua
+${LUA_LDIR}/vstruct/io/c.lua
+${LUA_LDIR}/vstruct/io/defaults.lua
+${LUA_LDIR}/vstruct/io/endianness.lua
+${LUA_LDIR}/vstruct/io/f.lua
+${LUA_LDIR}/vstruct/io/hostendian.lua
+${LUA_LDIR}/vstruct/io/i.lua
+${LUA_LDIR}/vstruct/io/littleendian.lua
+${LUA_LDIR}/vstruct/io/m.lua
+${LUA_LDIR}/vstruct/io/p.lua
+${LUA_LDIR}/vstruct/io/s.lua
+${LUA_LDIR}/vstruct/io/seekb.lua
+${LUA_LDIR}/vstruct/io/seekf.lua
+${LUA_LDIR}/vstruct/io/seekto.lua
+${LUA_LDIR}/vstruct/io/u.lua
+${LUA_LDIR}/vstruct/io/x.lua
+${LUA_LDIR}/vstruct/io/z.lua
+${LUA_LDIR}/vstruct/lexer.lua
+${LUA_LDIR}/vstruct/test.lua
Index: pkgsrc/devel/lua-vstruct/distinfo
diff -u /dev/null pkgsrc/devel/lua-vstruct/distinfo:1.1
--- /dev/null   Thu Aug  6 23:17:57 2020
+++ pkgsrc/devel/lua-vstruct/distinfo   Thu Aug  6 23:17:57 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/08/06 23:17:57 joerg Exp $
+
+SHA1 (vstruct-2.1.1.tar.gz) = faab98322060e3e2a19a4dff578e9d454784b72c
+RMD160 (vstruct-2.1.1.tar.gz) = 1838d8fd70976f4efc0865d22f211caa710ad197
+SHA512 (vstruct-2.1.1.tar.gz) = 8959fc9f90aa6ccffd306227098dc888a2218c0bfe7ef783867a012d5f23053cd58ec21f734eee1f1ad539245576e5f7cc8ff75050ef61e47a8af4a1b074bbac
+Size (vstruct-2.1.1.tar.gz) = 39736 bytes



Home | Main Index | Thread Index | Old Index