diff options
author | nia <nia@pkgsrc.org> | 2020-03-31 10:25:28 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-03-31 10:25:28 +0000 |
commit | d0e178fb26c38064bdc88f986a51f31d32cbde51 (patch) | |
tree | c06b05dea2230ea57c057d3c5cc7c280b21a2b56 /archivers | |
parent | ae9ad712cc33d65450c23f7314524183dcd4cb3e (diff) | |
download | pkgsrc-d0e178fb26c38064bdc88f986a51f31d32cbde51.tar.gz |
archivers: Add minizip
Zip file manipulation library from the zlib distribution
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 3 | ||||
-rw-r--r-- | archivers/minizip/DESCR | 1 | ||||
-rw-r--r-- | archivers/minizip/Makefile | 30 | ||||
-rw-r--r-- | archivers/minizip/PLIST | 7 | ||||
-rw-r--r-- | archivers/minizip/buildlink3.mk | 14 | ||||
-rw-r--r-- | archivers/minizip/distinfo | 6 |
6 files changed, 60 insertions, 1 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index 91395efd768..49b00ec2420 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -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+= lzo SUBDIR+= lzop SUBDIR+= macutil SUBDIR+= makeself +SUBDIR+= minizip SUBDIR+= mousetar SUBDIR+= mscompress SUBDIR+= nomarch diff --git a/archivers/minizip/DESCR b/archivers/minizip/DESCR new file mode 100644 index 00000000000..f83dc31e0e5 --- /dev/null +++ b/archivers/minizip/DESCR @@ -0,0 +1 @@ +Zip file manipulation library from the zlib distribution diff --git a/archivers/minizip/Makefile b/archivers/minizip/Makefile new file mode 100644 index 00000000000..62294d97c9a --- /dev/null +++ b/archivers/minizip/Makefile @@ -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 +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 --git a/archivers/minizip/PLIST b/archivers/minizip/PLIST new file mode 100644 index 00000000000..12f0067b1f6 --- /dev/null +++ b/archivers/minizip/PLIST @@ -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 --git a/archivers/minizip/buildlink3.mk b/archivers/minizip/buildlink3.mk new file mode 100644 index 00000000000..b61c1d7b127 --- /dev/null +++ b/archivers/minizip/buildlink3.mk @@ -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 --git a/archivers/minizip/distinfo b/archivers/minizip/distinfo new file mode 100644 index 00000000000..763f8c5e606 --- /dev/null +++ b/archivers/minizip/distinfo @@ -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 |