package/minizip-zlib: share source tarball with libzlib

Both packages use the same tarball as source.

Added comments to keep the version number in sync.

Transformed minizip-zlib.hash into a link to ../libzlib/libzlib.hash.

Added MINIZIP_ZLIB_DL_SUBDIR = libzlib so minizip-zlib uses the same
tarball as libzlib.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2026-05-31 19:48:16 +02:00
committed by Julien Olivain
parent 3058a669c5
commit bfd1d73678
3 changed files with 4 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
#
################################################################################
# When updating the version here, please also update the minizip-zlib package
LIBZLIB_VERSION = 1.3.2
LIBZLIB_SOURCE = zlib-$(LIBZLIB_VERSION).tar.xz
LIBZLIB_SITE = https://www.zlib.net

View File

@@ -1,4 +0,0 @@
# From http://www.zlib.net/
sha256 d7a0654783a4da529d1bb793b7ad9c3318020af77667bcae35f95d0e42a792f3 zlib-1.3.2.tar.xz
# License files, locally calculated
sha256 e32ff4e00d9d94930537635291da39e7e612703334bf6fde8c7f1686fe8a45a2 LICENSE

View File

@@ -0,0 +1 @@
../libzlib/libzlib.hash

View File

@@ -4,9 +4,11 @@
#
################################################################################
# When updating the version here, please also update the libzlib package
MINIZIP_ZLIB_VERSION = 1.3.2
MINIZIP_ZLIB_SOURCE = zlib-$(MINIZIP_ZLIB_VERSION).tar.xz
MINIZIP_ZLIB_SITE = https://www.zlib.net
MINIZIP_ZLIB_DL_SUBDIR = libzlib
MINIZIP_ZLIB_LICENSE = Zlib
MINIZIP_ZLIB_LICENSE_FILES = LICENSE
MINIZIP_ZLIB_INSTALL_STAGING = YES