2009-01-13 17:36:16 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libidn
|
|
|
|
#
|
|
|
|
#############################################################
|
2009-11-13 16:07:56 +01:00
|
|
|
|
|
|
|
LIBIDN_VERSION = 1.15
|
2009-01-13 17:36:16 +01:00
|
|
|
LIBIDN_SITE = http://ftp.gnu.org/gnu/libidn/
|
|
|
|
LIBIDN_INSTALL_STAGING = YES
|
|
|
|
LIBIDN_INSTALL_TARGET = YES
|
2010-06-05 08:10:13 +02:00
|
|
|
LIBIDN_CONF_ENV = EMACS="no"
|
2009-11-13 16:07:56 +01:00
|
|
|
LIBIDN_CONF_OPT = --enable-shared --disable-java --enable-csharp=no
|
|
|
|
LIBIDN_LIBTOOL_PATCH = NO
|
2010-05-24 21:17:55 +02:00
|
|
|
LIBIDN_DEPENDENCIES = host-pkg-config $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
2009-01-13 17:36:16 +01:00
|
|
|
|
|
|
|
$(eval $(call AUTOTARGETS,package,libidn))
|
2009-11-13 16:07:56 +01:00
|
|
|
|
|
|
|
$(LIBIDN_HOOK_POST_INSTALL):
|
|
|
|
ifneq ($(BR2_PACKAGE_LIBIDN_BINARY),y)
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/idn
|
|
|
|
endif
|
|
|
|
rm -rf $(TARGET_DIR)/usr/share/emacs
|
|
|
|
touch $@
|
|
|
|
|
|
|
|
$(LIBIDN_TARGET_UNINSTALL):
|
|
|
|
$(call MESSAGE,"Uninstalling")
|
|
|
|
rm -f $(TARGET_DIR)/usr/lib/libidn*
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/idn
|
|
|
|
rm -f $(LIBIDN_TARGET_INSTALL_TARGET) $(LIBIDN_HOOK_POST_INSTALL)
|