Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers archivers: Add lua-zlib



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aeb27ecb6957
branches:  trunk
changeset: 435245:aeb27ecb6957
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jul 02 20:00:23 2020 +0000

description:
archivers: Add lua-zlib

Simple streaming interface to zlib for Lua.

diffstat:

 archivers/Makefile          |   3 ++-
 archivers/lua-zlib/DESCR    |   1 +
 archivers/lua-zlib/Makefile |  30 ++++++++++++++++++++++++++++++
 archivers/lua-zlib/PLIST    |   2 ++
 archivers/lua-zlib/distinfo |   6 ++++++
 5 files changed, 41 insertions(+), 1 deletions(-)

diffs (72 lines):

diff -r bfdbc20c305f -r aeb27ecb6957 archivers/Makefile
--- a/archivers/Makefile        Thu Jul 02 17:59:15 2020 +0000
+++ b/archivers/Makefile        Thu Jul 02 20:00:23 2020 +0000
@@ -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+=       libunrar
 SUBDIR+=       libzip
 SUBDIR+=       lrzip
+SUBDIR+=       lua-zlib
 SUBDIR+=       lxqt-archiver
 SUBDIR+=       lz4
 SUBDIR+=       lz4json
diff -r bfdbc20c305f -r aeb27ecb6957 archivers/lua-zlib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/lua-zlib/DESCR  Thu Jul 02 20:00:23 2020 +0000
@@ -0,0 +1,1 @@
+Simple streaming interface to zlib for Lua.
diff -r bfdbc20c305f -r aeb27ecb6957 archivers/lua-zlib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/lua-zlib/Makefile       Thu Jul 02 20:00:23 2020 +0000
@@ -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"
diff -r bfdbc20c305f -r aeb27ecb6957 archivers/lua-zlib/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/lua-zlib/PLIST  Thu Jul 02 20:00:23 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/02 20:00:23 nia Exp $
+${LUA_CDIR}/zlib.so
diff -r bfdbc20c305f -r aeb27ecb6957 archivers/lua-zlib/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/lua-zlib/distinfo       Thu Jul 02 20:00:23 2020 +0000
@@ -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