2015-01-29 12:35:36 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libzip
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-01-04 19:39:26 +01:00
|
|
|
LIBZIP_VERSION = 1.4.0
|
2015-03-09 23:14:51 +01:00
|
|
|
LIBZIP_SITE = http://www.nih.at/libzip
|
2015-01-29 12:35:36 +01:00
|
|
|
LIBZIP_SOURCE = libzip-$(LIBZIP_VERSION).tar.xz
|
2017-03-30 15:43:38 +02:00
|
|
|
LIBZIP_LICENSE = BSD-3-Clause
|
2015-01-29 12:35:36 +01:00
|
|
|
LIBZIP_LICENSE_FILES = LICENSE
|
|
|
|
LIBZIP_INSTALL_STAGING = YES
|
|
|
|
LIBZIP_DEPENDENCIES = zlib
|
|
|
|
|
2017-09-07 23:21:33 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
|
|
|
LIBZIP_DEPENDENCIES += bzip2
|
|
|
|
else
|
2018-01-04 19:39:26 +01:00
|
|
|
LIBZIP_CONF_OPTS += -DCMAKE_DISABLE_FIND_PACKAGE_BZIP2=TRUE
|
2017-09-07 23:21:33 +02:00
|
|
|
endif
|
|
|
|
|
2018-01-04 19:39:26 +01:00
|
|
|
$(eval $(cmake-package))
|