pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers archivers: Add minizip



details:   https://anonhg.NetBSD.org/pkgsrc/rev/294096b16254
branches:  trunk
changeset: 414669:294096b16254
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Mar 31 10:25:28 2020 +0000

description:
archivers: Add minizip

Zip file manipulation library from the zlib distribution

diffstat:

 archivers/Makefile              |   3 ++-
 archivers/minizip/DESCR         |   1 +
 archivers/minizip/Makefile      |  30 ++++++++++++++++++++++++++++++
 archivers/minizip/PLIST         |   7 +++++++
 archivers/minizip/buildlink3.mk |  14 ++++++++++++++
 archivers/minizip/distinfo      |   6 ++++++
 6 files changed, 60 insertions(+), 1 deletions(-)

diffs (95 lines):

diff -r 1878f54ea480 -r 294096b16254 archivers/Makefile
--- a/archivers/Makefile        Tue Mar 31 10:03:51 2020 +0000
+++ b/archivers/Makefile        Tue Mar 31 10:25:28 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.172 2020/03/23 15:30:31 taca Exp $
+# $NetBSD: Makefile,v 1.173 2020/03/31 10:25:28 nia Exp $
 #
 
 COMMENT=       Archivers
@@ -65,6 +65,7 @@
 SUBDIR+=       lzop
 SUBDIR+=       macutil
 SUBDIR+=       makeself
+SUBDIR+=       minizip
 SUBDIR+=       mousetar
 SUBDIR+=       mscompress
 SUBDIR+=       nomarch
diff -r 1878f54ea480 -r 294096b16254 archivers/minizip/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/minizip/DESCR   Tue Mar 31 10:25:28 2020 +0000
@@ -0,0 +1,1 @@
+Zip file manipulation library from the zlib distribution
diff -r 1878f54ea480 -r 294096b16254 archivers/minizip/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/minizip/Makefile        Tue Mar 31 10:25:28 2020 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2020/03/31 10:25:28 nia Exp $
+
+DISTNAME=      zlib-1.2.11
+PKGNAME=       ${DISTNAME:S/zlib-/minizip-/1}
+CATEGORIES=    archivers
+MASTER_SITES=  http://zlib.net/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.winimage.com/zLibDll/minizip.html
+COMMENT=       Zip file manipulation library from the zlib distribution
+LICENSE=       zlib
+
+WRKSRC=                ${WRKDIR}/zlib-${PKGVERSION_NOREV}/contrib/minizip
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    autoconf automake autoreconf
+
+PKGCONFIG_OVERRIDE+=   minizip.pc.in
+
+pre-configure:
+       cd ${WRKSRC} && autoreconf -fi
+
+# https://github.com/madler/zlib/pull/229
+post-install:
+       ${RM} -f ${DESTDIR}${PREFIX}/include/minizip/crypt.h
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1878f54ea480 -r 294096b16254 archivers/minizip/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/minizip/PLIST   Tue Mar 31 10:25:28 2020 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2020/03/31 10:25:28 nia Exp $
+include/minizip/ioapi.h
+include/minizip/mztools.h
+include/minizip/unzip.h
+include/minizip/zip.h
+lib/libminizip.la
+lib/pkgconfig/minizip.pc
diff -r 1878f54ea480 -r 294096b16254 archivers/minizip/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/minizip/buildlink3.mk   Tue Mar 31 10:25:28 2020 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/03/31 10:25:28 nia Exp $
+
+BUILDLINK_TREE+=       minizip
+
+.if !defined(MINIZIP_BUILDLINK3_MK)
+MINIZIP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.minizip+=        minizip>=1.2.11
+BUILDLINK_PKGSRCDIR.minizip?=  ../../archivers/minizip
+
+.include "../../devel/zlib/buildlink3.mk"
+.endif # MINIZIP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -minizip
diff -r 1878f54ea480 -r 294096b16254 archivers/minizip/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/minizip/distinfo        Tue Mar 31 10:25:28 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/03/31 10:25:28 nia Exp $
+
+SHA1 (zlib-1.2.11.tar.xz) = e1cb0d5c92da8e9a8c2635dfa249c341dfd00322
+RMD160 (zlib-1.2.11.tar.xz) = 3f3ecd35efa6d41ba7b90e5f6e872e2ee8e42044
+SHA512 (zlib-1.2.11.tar.xz) = b7f50ada138c7f93eb7eb1631efccd1d9f03a5e77b6c13c8b757017b2d462e19d2d3e01c50fad60a4ae1bc86d431f6f94c72c11ff410c25121e571953017cb67
+Size (zlib-1.2.11.tar.xz) = 467960 bytes



Home | Main Index | Thread Index | Old Index