kumquat-buildroot/package/zlib-ng/zlib-ng.mk
Bernd Kuhls 0df456ea6e package/zlib-ng: bump version to 2.1.3
Removed all patches because they are included in this release.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-07-10 18:14:23 +02:00

39 lines
916 B
Makefile

################################################################################
#
# zlib-ng
#
################################################################################
ZLIB_NG_VERSION = 2.1.3
ZLIB_NG_SITE = $(call github,zlib-ng,zlib-ng,$(ZLIB_NG_VERSION))
ZLIB_NG_LICENSE = Zlib
ZLIB_NG_LICENSE_FILES = LICENSE.md
ZLIB_NG_INSTALL_STAGING = YES
ZLIB_NG_PROVIDES = zlib
# Build with zlib compatible API, gzFile support and optimizations on
ZLIB_NG_CONF_OPTS += \
-DWITH_GZFILEOP=1 \
-DWITH_OPTIM=1 \
-DZLIB_COMPAT=1 \
-DZLIB_ENABLE_TESTS=OFF
# Enable ACLE on ARM
ifeq ($(BR2_arm),y)
ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1
endif
ifeq ($(BR2_ARM_CPU_HAS_NEON)$(BR2_aarch64),y)
ZLIB_NG_CONF_OPTS += -DWITH_NEON=ON
else
ZLIB_NG_CONF_OPTS += -DWITH_NEON=OFF
endif
ifeq ($(BR2_powerpc_power8),y)
ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON
else
ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF
endif
$(eval $(cmake-package))