# sha256 locally computed
-sha256 2ee1e0fbbb78ec7cc46bde5b62857bc51f8d665dd265577cf93584344b8b9de2 zziplib-0.13.71.tar.gz
+sha256 93ef44bf1f1ea24fc66080426a469df82fa631d13ca3b2e4abaeab89538518dc zziplib-0.13.72.tar.gz
sha256 94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23 docs/COPYING.LIB
sha256 c2aa7d58cebd24cb877bbf11d6b13a4bb7cd08b9d7db5d3037ca06c46bf4cfd8 docs/COPYING.MPL
sha256 1c6da11efe8c43ee853fe5b21501dd72b81831ae84d58ea376bddc0620a5c361 docs/copying.htm
#
################################################################################
-ZZIPLIB_VERSION = 0.13.71
+ZZIPLIB_VERSION = 0.13.72
ZZIPLIB_SITE = $(call github,gdraheim,zziplib,v$(ZZIPLIB_VERSION))
ZZIPLIB_LICENSE = LGPL-2.0+ or MPL-1.1
ZZIPLIB_LICENSE_FILES = docs/COPYING.LIB docs/COPYING.MPL docs/copying.htm
ZZIPLIB_INSTALL_STAGING = YES
+ZZIPLIB_CONF_OPTS += \
+ -DZZIPDOCS=OFF \
+ -DZZIPTEST=OFF
+ZZIPLIB_DEPENDENCIES = host-pkgconf zlib
-ZZIPLIB_DEPENDENCIES = host-pkgconf host-python3 zlib
+define ZZIPLIB_POST_EXTRACT_FIXUP
+ rm $(@D)/GNUmakefile
+endef
+ZZIPLIB_POST_EXTRACT_HOOKS += ZZIPLIB_POST_EXTRACT_FIXUP
-ZZIPLIB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/bin/python3
+ifeq ($(BR2_PACKAGE_SDL2),y)
+ZZIPLIB_CONF_OPTS += -DZZIPSDL=ON
+ZZIPLIB_DEPENDENCIES += sdl2
+else
+ZZIPLIB_CONF_OPTS += -DZZIPSDL=OFF
+endif
-$(eval $(autotools-package))
+$(eval $(cmake-package))