2008-03-06 19:12:45 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
2010-12-22 13:04:05 +01:00
|
|
|
# International Components for Unicode
|
2008-03-06 19:12:45 +01:00
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2012-05-11 11:37:30 +02:00
|
|
|
ICU_VERSION = 4.8.1.1
|
2010-12-22 13:04:05 +01:00
|
|
|
ICU_SOURCE = icu4c-$(subst .,_,$(ICU_VERSION))-src.tgz
|
|
|
|
ICU_SITE = http://download.icu-project.org/files/icu4c/$(ICU_VERSION)
|
|
|
|
ICU_DEPENDENCIES = host-icu
|
|
|
|
ICU_INSTALL_STAGING = YES
|
|
|
|
ICU_CONF_OPT = --with-cross-build=$(HOST_ICU_DIR)/source --disable-samples \
|
|
|
|
--disable-tests
|
|
|
|
HOST_ICU_CONF_OPT = --disable-samples --disable-tests
|
2011-03-17 09:13:42 +01:00
|
|
|
ICU_MAKE = $(MAKE1)
|
2010-12-22 13:04:05 +01:00
|
|
|
ICU_SUBDIR = source
|
|
|
|
HOST_ICU_SUBDIR = source
|
|
|
|
|
|
|
|
define ICU_PREFIX_FIXUP
|
2011-02-24 12:41:31 +01:00
|
|
|
$(SED) "s,^default_prefix=.*,default_prefix=\'$(STAGING_DIR)/usr\',g" \
|
|
|
|
-e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
|
|
|
|
$(STAGING_DIR)/usr/bin/icu-config
|
2010-12-22 13:04:05 +01:00
|
|
|
endef
|
2008-03-06 19:12:45 +01:00
|
|
|
|
2010-12-22 13:04:05 +01:00
|
|
|
ICU_POST_INSTALL_TARGET_HOOKS += ICU_PREFIX_FIXUP
|
2008-03-06 19:12:45 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|