2019-05-29 17:16:53 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# zziplib
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-01-10 15:45:00 +01:00
|
|
|
ZZIPLIB_VERSION = 0.13.72
|
2019-09-11 19:06:33 +02:00
|
|
|
ZZIPLIB_SITE = $(call github,gdraheim,zziplib,v$(ZZIPLIB_VERSION))
|
2019-05-29 17:16:53 +02:00
|
|
|
ZZIPLIB_LICENSE = LGPL-2.0+ or MPL-1.1
|
|
|
|
ZZIPLIB_LICENSE_FILES = docs/COPYING.LIB docs/COPYING.MPL docs/copying.htm
|
2021-03-05 23:27:44 +01:00
|
|
|
ZZIPLIB_CPE_ID_VENDOR = zziplib_project
|
2019-05-29 17:16:53 +02:00
|
|
|
ZZIPLIB_INSTALL_STAGING = YES
|
2021-01-10 15:45:00 +01:00
|
|
|
ZZIPLIB_CONF_OPTS += \
|
|
|
|
-DZZIPDOCS=OFF \
|
|
|
|
-DZZIPTEST=OFF
|
|
|
|
ZZIPLIB_DEPENDENCIES = host-pkgconf zlib
|
2019-05-29 17:16:53 +02:00
|
|
|
|
2021-01-10 15:45:00 +01:00
|
|
|
define ZZIPLIB_POST_EXTRACT_FIXUP
|
|
|
|
rm $(@D)/GNUmakefile
|
|
|
|
endef
|
|
|
|
ZZIPLIB_POST_EXTRACT_HOOKS += ZZIPLIB_POST_EXTRACT_FIXUP
|
2020-03-03 21:16:21 +01:00
|
|
|
|
2021-01-10 15:45:00 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_SDL2),y)
|
|
|
|
ZZIPLIB_CONF_OPTS += -DZZIPSDL=ON
|
|
|
|
ZZIPLIB_DEPENDENCIES += sdl2
|
|
|
|
else
|
|
|
|
ZZIPLIB_CONF_OPTS += -DZZIPSDL=OFF
|
|
|
|
endif
|
2019-05-29 17:16:53 +02:00
|
|
|
|
2021-01-10 15:45:00 +01:00
|
|
|
$(eval $(cmake-package))
|