python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / libidn / libidn.mk
blob99c9e2cb8021479caab369972bd37b0adf0d67bf
1 ################################################################################
3 # libidn
5 ################################################################################
7 LIBIDN_VERSION = 1.33
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
18 endef
20 ifneq ($(BR2_PACKAGE_LIBIDN_BINARY),y)
21 LIBIDN_POST_INSTALL_TARGET_HOOKS += LIBIDN_REMOVE_BINARY
22 endif
24 define LIBIDN_REMOVE_EMACS_STUFF
25 rm -rf $(TARGET_DIR)/usr/share/emacs
26 endef
28 LIBIDN_POST_INSTALL_TARGET_HOOKS += LIBIDN_REMOVE_EMACS_STUFF
30 $(eval $(autotools-package))