c6610c3f59
Fix the following build failure raised since the addition of the package
in commit c618da772d
:
../output-1/build/zchunk-1.1.16/meson.build:35:4: ERROR: C shared or static library 'argp' not found
Fixes:
- http://autobuild.buildroot.org/results/f82d06e95ac497aa8215268a7a58e929a05b32e3
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
31 lines
778 B
Makefile
31 lines
778 B
Makefile
################################################################################
|
|
#
|
|
# zchunk
|
|
#
|
|
################################################################################
|
|
|
|
ZCHUNK_VERSION = 1.1.16
|
|
ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION))
|
|
ZCHUNK_LICENSE = BSD-2-Clause
|
|
ZCHUNK_LICENSE_FILES = LICENSE
|
|
ZCHUNK_INSTALL_STAGING = YES
|
|
ZCHUNK_DEPENDENCIES = \
|
|
libcurl \
|
|
$(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone)
|
|
|
|
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))
|