2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-01-13 17:36:16 +01:00
|
|
|
#
|
|
|
|
# libidn
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-11-13 16:07:56 +01:00
|
|
|
|
2016-07-23 01:38:34 +02:00
|
|
|
LIBIDN_VERSION = 1.33
|
2012-01-20 20:14:22 +01:00
|
|
|
LIBIDN_SITE = $(BR2_GNU_MIRROR)/libidn
|
2009-01-13 17:36:16 +01:00
|
|
|
LIBIDN_INSTALL_STAGING = YES
|
2010-06-05 08:10:13 +02:00
|
|
|
LIBIDN_CONF_ENV = EMACS="no"
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBIDN_CONF_OPTS = --disable-java --enable-csharp=no
|
2017-07-03 22:52:20 +02:00
|
|
|
LIBIDN_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
2017-03-30 15:43:35 +02:00
|
|
|
LIBIDN_LICENSE = GPL-2.0+, GPL-3.0+, LGPL-3.0+
|
2012-12-18 03:08:22 +01:00
|
|
|
LIBIDN_LICENSE_FILES = COPYINGv2 COPYINGv3 COPYING.LESSERv3
|
2017-09-15 06:40:20 +02:00
|
|
|
# lib/punycode.c patch triggers reconf in doc/
|
|
|
|
LIBIDN_AUTORECONF = YES
|
2009-01-13 17:36:16 +01:00
|
|
|
|
2010-09-01 17:23:36 +02:00
|
|
|
define LIBIDN_REMOVE_BINARY
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/idn
|
|
|
|
endef
|
2009-11-13 16:07:56 +01:00
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_LIBIDN_BINARY),y)
|
2010-09-01 17:23:36 +02:00
|
|
|
LIBIDN_POST_INSTALL_TARGET_HOOKS += LIBIDN_REMOVE_BINARY
|
2009-11-13 16:07:56 +01:00
|
|
|
endif
|
2010-09-01 17:23:36 +02:00
|
|
|
|
|
|
|
define LIBIDN_REMOVE_EMACS_STUFF
|
2009-11-13 16:07:56 +01:00
|
|
|
rm -rf $(TARGET_DIR)/usr/share/emacs
|
2010-09-01 17:23:36 +02:00
|
|
|
endef
|
2009-11-13 16:07:56 +01:00
|
|
|
|
2010-09-01 17:23:36 +02:00
|
|
|
LIBIDN_POST_INSTALL_TARGET_HOOKS += LIBIDN_REMOVE_EMACS_STUFF
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|