1 ################################################################################
5 ################################################################################
8 LIBIDN_SITE
= $(BR2_GNU_MIRROR
)/libidn
9 LIBIDN_INSTALL_STAGING
= YES
10 LIBIDN_CONF_ENV
= EMACS
="no"
11 LIBIDN_CONF_OPTS
= --disable-java
--enable-csharp
=no
12 LIBIDN_DEPENDENCIES
= host-pkgconf
$(if
$(BR2_NEEDS_GETTEXT_IF_LOCALE
),gettext
) $(if
$(BR2_PACKAGE_LIBICONV
),libiconv
)
13 LIBIDN_LICENSE
= GPLv2
+, GPLv3
+, LGPLv3
+
14 LIBIDN_LICENSE_FILES
= COPYINGv2 COPYINGv3 COPYING.LESSERv3
16 define LIBIDN_REMOVE_BINARY
17 rm -f
$(TARGET_DIR
)/usr
/bin
/idn
20 ifneq ($(BR2_PACKAGE_LIBIDN_BINARY
),y
)
21 LIBIDN_POST_INSTALL_TARGET_HOOKS
+= LIBIDN_REMOVE_BINARY
24 define LIBIDN_REMOVE_EMACS_STUFF
25 rm -rf
$(TARGET_DIR
)/usr
/share
/emacs
28 LIBIDN_POST_INSTALL_TARGET_HOOKS
+= LIBIDN_REMOVE_EMACS_STUFF
30 $(eval
$(autotools-package
))