2008-04-24 20:35:44 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libiconv
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
LIBICONV_VERSION = 1.12
|
|
|
|
LIBICONV_SOURCE = libiconv-$(LIBICONV_VERSION).tar.gz
|
2008-12-05 16:27:35 +01:00
|
|
|
LIBICONV_SITE = $(BR2_GNU_MIRROR)/libiconv
|
2008-04-24 20:35:44 +02:00
|
|
|
LIBICONV_AUTORECONF = NO
|
|
|
|
LIBICONV_INSTALL_STAGING = YES
|
|
|
|
LIBICONV_INSTALL_TARGET = YES
|
|
|
|
|
|
|
|
LIBICONV_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
|
|
|
|
|
|
|
|
$(eval $(call AUTOTARGETS,package,libiconv))
|
|
|
|
|
2008-12-12 10:03:47 +01:00
|
|
|
$(LIBICONV_HOOK_POST_INSTALL):
|
|
|
|
# Remove not used preloadable libiconv.so
|
|
|
|
rm -f $(STAGING_DIR)/usr/lib/preloadable_libiconv.so
|
|
|
|
rm -f $(TARGET_DIR)/usr/lib/preloadable_libiconv.so
|
|
|
|
ifneq ($(BR2_ENABLE_DEBUG),y)
|
|
|
|
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libiconv.so.*
|
2009-03-11 11:10:48 +01:00
|
|
|
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libcharset.so.*
|
2008-12-12 10:03:47 +01:00
|
|
|
endif
|
|
|
|
touch $@
|