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
|
|
|
|
2013-07-15 16:19:13 +02:00
|
|
|
LIBIDN_VERSION = 1.28
|
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"
|
2011-05-30 23:57:03 +02:00
|
|
|
LIBIDN_CONF_OPT = --disable-java --enable-csharp=no
|
2012-10-22 17:47:52 +02:00
|
|
|
LIBIDN_DEPENDENCIES = host-pkgconf $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
2012-12-18 03:08:22 +01:00
|
|
|
LIBIDN_LICENSE = GPLv2+ GPLv3+ LGPLv3+
|
|
|
|
LIBIDN_LICENSE_FILES = COPYINGv2 COPYINGv3 COPYING.LESSERv3
|
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))
|