2018-05-01 22:40:32 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libidn2
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-07-27 12:03:41 +02:00
|
|
|
LIBIDN2_VERSION = 2.3.2
|
2018-05-01 22:40:32 +02:00
|
|
|
LIBIDN2_SITE = $(BR2_GNU_MIRROR)/libidn
|
2019-10-26 10:45:55 +02:00
|
|
|
LIBIDN2_LICENSE = GPL-2.0+ or LGPL-3.0+ (library)
|
2018-05-01 22:40:32 +02:00
|
|
|
LIBIDN2_LICENSE_FILES = COPYING COPYINGv2 COPYING.LESSERv3 COPYING.unicode
|
2021-05-16 10:50:22 +02:00
|
|
|
LIBIDN2_CPE_ID_VENDOR = gnu
|
2018-05-01 22:40:32 +02:00
|
|
|
LIBIDN2_DEPENDENCIES = \
|
|
|
|
host-pkgconf \
|
|
|
|
$(TARGET_NLS_DEPENDENCIES) \
|
|
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
|
|
|
LIBIDN2_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBUNISTRING),y)
|
|
|
|
LIBIDN2_DEPENDENCIES += libunistring
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBIDN2_BINARY),)
|
|
|
|
define LIBIDN2_REMOVE_BINARY
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/idn2
|
|
|
|
endef
|
|
|
|
LIBIDN2_POST_INSTALL_TARGET_HOOKS += LIBIDN2_REMOVE_BINARY
|
|
|
|
else
|
2019-10-26 10:45:54 +02:00
|
|
|
LIBIDN2_LICENSE += , GPL-3.0+ (program)
|
2018-05-01 22:40:32 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|