pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jul  2 20:00:23 UTC 2020

Modified Files:
        pkgsrc/archivers: Makefile
Added Files:
        pkgsrc/archivers/lua-zlib: DESCR Makefile PLIST distinfo

Log Message:
archivers: Add lua-zlib

Simple streaming interface to zlib for Lua.


To generate a diff of this commit:
cvs rdiff -u -r1.175 -r1.176 pkgsrc/archivers/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/archivers/lua-zlib/DESCR \
    pkgsrc/archivers/lua-zlib/Makefile pkgsrc/archivers/lua-zlib/PLIST \
    pkgsrc/archivers/lua-zlib/distinfo

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

Modified files:

Index: pkgsrc/archivers/Makefile
diff -u pkgsrc/archivers/Makefile:1.175 pkgsrc/archivers/Makefile:1.176
--- pkgsrc/archivers/Makefile:1.175     Mon Jun  1 11:11:56 2020
+++ pkgsrc/archivers/Makefile   Thu Jul  2 20:00:23 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.175 2020/06/01 11:11:56 pin Exp $
+# $NetBSD: Makefile,v 1.176 2020/07/02 20:00:23 nia Exp $
 #
 
 COMMENT=       Archivers
@@ -55,6 +55,7 @@ SUBDIR+=      libmspack
 SUBDIR+=       libunrar
 SUBDIR+=       libzip
 SUBDIR+=       lrzip
+SUBDIR+=       lua-zlib
 SUBDIR+=       lxqt-archiver
 SUBDIR+=       lz4
 SUBDIR+=       lz4json

Added files:

Index: pkgsrc/archivers/lua-zlib/DESCR
diff -u /dev/null pkgsrc/archivers/lua-zlib/DESCR:1.1
--- /dev/null   Thu Jul  2 20:00:23 2020
+++ pkgsrc/archivers/lua-zlib/DESCR     Thu Jul  2 20:00:23 2020
@@ -0,0 +1 @@
+Simple streaming interface to zlib for Lua.
Index: pkgsrc/archivers/lua-zlib/Makefile
diff -u /dev/null pkgsrc/archivers/lua-zlib/Makefile:1.1
--- /dev/null   Thu Jul  2 20:00:23 2020
+++ pkgsrc/archivers/lua-zlib/Makefile  Thu Jul  2 20:00:23 2020
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2020/07/02 20:00:23 nia Exp $
+
+DISTNAME=      lua-zlib-1.2
+CATEGORIES=    archivers lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=brimworks/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/brimworks/lua-zlib
+COMMENT=       Simple streaming interface to zlib for Lua
+LICENSE=       mit
+
+BUILD_TARGET=  zlib.so
+
+MAKE_FLAGS+=   CC=${CC}
+MAKE_FLAGS+=   LD=${CC}
+MAKE_FLAGS+=   CFLAGS="${CFLAGS} -fPIC"
+MAKE_FLAGS+=   LDFLAGS="${LDFLAGS} -shared"
+
+INSTALLATION_DIRS+=    ${LUA_CDIR}
+
+# Links against unversioned base Lua on NetBSD...
+BUILDLINK_TRANSFORM+=  rm:-llua
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/zlib.so ${DESTDIR}${PREFIX}/${LUA_CDIR}
+
+.include "../../lang/lua/module.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/archivers/lua-zlib/PLIST
diff -u /dev/null pkgsrc/archivers/lua-zlib/PLIST:1.1
--- /dev/null   Thu Jul  2 20:00:23 2020
+++ pkgsrc/archivers/lua-zlib/PLIST     Thu Jul  2 20:00:23 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/02 20:00:23 nia Exp $
+${LUA_CDIR}/zlib.so
Index: pkgsrc/archivers/lua-zlib/distinfo
diff -u /dev/null pkgsrc/archivers/lua-zlib/distinfo:1.1
--- /dev/null   Thu Jul  2 20:00:23 2020
+++ pkgsrc/archivers/lua-zlib/distinfo  Thu Jul  2 20:00:23 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/02 20:00:23 nia Exp $
+
+SHA1 (lua-zlib-1.2.tar.gz) = 4005d0fc08258742558a8993fa4479307b3771dc
+RMD160 (lua-zlib-1.2.tar.gz) = a41dc59096a121a324b781dc6bff48c2846413c5
+SHA512 (lua-zlib-1.2.tar.gz) = da13239089c1027b0bfb4ee463043b326ef5586206c5d76af8707736da3c03622b2fc38e732761a5b7a6422ad81a09557abc8548f37fef07ada0d4064eabfcf4
+Size (lua-zlib-1.2.tar.gz) = 16612 bytes



Home | Main Index | Thread Index | Old Index