From bef31674637249e64d378aa33c93d2ad23e4d93c Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Wed, 27 Jul 2022 17:10:36 +0200 Subject: [PATCH] package/minizip-zlib: new package Legacy minizip provided in contrib/minizip of zlib. https://www.winimage.com/zLibDll/minizip.html Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/minizip-zlib/Config.in | 7 +++++++ package/minizip-zlib/minizip-zlib.hash | 4 ++++ package/minizip-zlib/minizip-zlib.mk | 20 ++++++++++++++++++++ 5 files changed, 33 insertions(+) create mode 100644 package/minizip-zlib/Config.in create mode 100644 package/minizip-zlib/minizip-zlib.hash create mode 100644 package/minizip-zlib/minizip-zlib.mk diff --git a/DEVELOPERS b/DEVELOPERS index 2a9b6e29e9..35456d9f94 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -958,6 +958,7 @@ F: package/libxslt/ F: package/mbedtls/ F: package/minissdpd/ F: package/minizip/ +F: package/minizip-zlib/ F: package/mongodb/ F: package/motion/ F: package/mutt/ diff --git a/package/Config.in b/package/Config.in index b025097008..5518067252 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1403,6 +1403,7 @@ menu "Compression and decompression" source "package/lz4/Config.in" source "package/lzo/Config.in" source "package/minizip/Config.in" + source "package/minizip-zlib/Config.in" source "package/snappy/Config.in" source "package/szip/Config.in" source "package/zchunk/Config.in" diff --git a/package/minizip-zlib/Config.in b/package/minizip-zlib/Config.in new file mode 100644 index 0000000000..fe9b337a86 --- /dev/null +++ b/package/minizip-zlib/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_MINIZIP_ZLIB + bool "minizip-zlib" + select BR2_PACKAGE_ZLIB + help + Legacy minizip provided in contrib/minizip of zlib. + + https://www.winimage.com/zLibDll/minizip.html diff --git a/package/minizip-zlib/minizip-zlib.hash b/package/minizip-zlib/minizip-zlib.hash new file mode 100644 index 0000000000..4d2c5c29d3 --- /dev/null +++ b/package/minizip-zlib/minizip-zlib.hash @@ -0,0 +1,4 @@ +# From http://www.zlib.net/ +sha256 4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066 zlib-1.2.11.tar.xz +# License files, locally calculated +sha256 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15 README diff --git a/package/minizip-zlib/minizip-zlib.mk b/package/minizip-zlib/minizip-zlib.mk new file mode 100644 index 0000000000..935877678d --- /dev/null +++ b/package/minizip-zlib/minizip-zlib.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# minizip-zlib +# +################################################################################ + +MINIZIP_ZLIB_VERSION = 1.2.11 +MINIZIP_ZLIB_SOURCE = zlib-$(MINIZIP_ZLIB_VERSION).tar.xz +MINIZIP_ZLIB_SITE = http://www.zlib.net +MINIZIP_ZLIB_LICENSE = Zlib +MINIZIP_ZLIB_LICENSE_FILES = README +MINIZIP_ZLIB_INSTALL_STAGING = YES +MINIZIP_ZLIB_SUBDIR = contrib/minizip +# configure is not shipped in contrib/minizip +MINIZIP_ZLIB_AUTORECONF = YES +MINIZIP_ZLIB_DEPENDENCIES = zlib +# demos must be disabled to avoid a conflict with BR2_PACKAGE_MINIZIP_DEMOS +MINIZIP_ZLIB_CONF_OPTS = --disable-demos + +$(eval $(autotools-package))