kumquat-buildroot/package/minizip/minizip.mk
Fabrice Fontaine 9b575e3bee minizip: bump to version 2.8.2
- libbsd is now an optional dependency as HAVE_ARC4RANDOM_BUF is not
  always defined since version 2.7.1 and:
  c73ef6e69b
- openssl is an optional dependency since version 2.7.0 and:
  e5a5617a7c
- libiconv is an optional dependency since version 2.7.1 and:
  6209991d6b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-16 16:03:09 +01:00

40 lines
1007 B
Makefile

################################################################################
#
# minizip
#
################################################################################
MINIZIP_VERSION = 2.8.2
MINIZIP_SITE = $(call github,nmoinvaz,minizip,$(MINIZIP_VERSION))
MINIZIP_DEPENDENCIES = \
host-pkgconf \
$(if $(BR2_PACKAGE_LIBBSD),libbsd) \
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
MINIZIP_INSTALL_STAGING = YES
MINIZIP_CONF_OPTS = $(if $(BR2_PACKAGE_MINIZIP_DEMOS),-DBUILD_TEST=ON)
MINIZIP_LICENSE = Zlib
MINIZIP_LICENSE_FILES = LICENSE
ifeq ($(BR2_PACKAGE_BZIP2),y)
MINIZIP_DEPENDENCIES += bzip2
MINIZIP_CONF_OPTS += -DUSE_BZIP2=ON
else
MINIZIP_CONF_OPTS += -DUSE_BZIP2=OFF
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
MINIZIP_DEPENDENCIES += openssl
MINIZIP_CONF_OPTS += -DUSE_OPENSSL=ON
else
MINIZIP_CONF_OPTS += -DUSE_OPENSSL=OFF
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
MINIZIP_DEPENDENCIES += zlib
MINIZIP_CONF_OPTS += -DUSE_ZLIB=ON
else
MINIZIP_CONF_OPTS += -DUSE_ZLIB=OFF
endif
$(eval $(cmake-package))