kumquat-buildroot/package/zchunk/zchunk.mk
James Hilliard 6f1130afcd package/zchunk: bump to version 1.2.2
Libcurl is now an optional dependency.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-04-20 22:43:04 +02:00

37 lines
922 B
Makefile

################################################################################
#
# zchunk
#
################################################################################
ZCHUNK_VERSION = 1.2.2
ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION))
ZCHUNK_LICENSE = BSD-2-Clause
ZCHUNK_LICENSE_FILES = LICENSE
ZCHUNK_INSTALL_STAGING = YES
ZCHUNK_DEPENDENCIES = \
$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
ifeq ($(BR2_PACKAGE_LIBCURL),y)
ZCHUNK_DEPENDENCIES += libcurl
ZCHUNK_CONF_OPTS += -Dwith-curl=enabled
else
ZCHUNK_CONF_OPTS += -Dwith-curl=disabled
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
ZCHUNK_DEPENDENCIES += openssl
ZCHUNK_CONF_OPTS += -Dwith-openssl=enabled
else
ZCHUNK_CONF_OPTS += -Dwith-openssl=disabled
endif
ifeq ($(BR2_PACKAGE_ZSTD),y)
ZCHUNK_DEPENDENCIES += zstd
ZCHUNK_CONF_OPTS += -Dwith-zstd=enabled
else
ZCHUNK_CONF_OPTS += -Dwith-zstd=disabled
endif
$(eval $(meson-package))