2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-03-06 19:12:45 +01:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# icu
|
2008-03-06 19:12:45 +01:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-03-06 19:12:45 +01:00
|
|
|
|
2013-06-30 05:23:26 +02:00
|
|
|
ICU_VERSION = 51.2
|
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)
|
2013-01-20 10:22:33 +01:00
|
|
|
ICU_LICENSE = ICU License
|
|
|
|
ICU_LICENSE_FILES = license.html
|
|
|
|
|
2010-12-22 13:04:05 +01:00
|
|
|
ICU_DEPENDENCIES = host-icu
|
|
|
|
ICU_INSTALL_STAGING = YES
|
2013-02-07 13:35:05 +01:00
|
|
|
ICU_CONFIG_SCRIPTS = icu-config
|
2010-12-22 13:04:05 +01:00
|
|
|
ICU_CONF_OPT = --with-cross-build=$(HOST_ICU_DIR)/source --disable-samples \
|
|
|
|
--disable-tests
|
2013-03-09 05:03:00 +01:00
|
|
|
HOST_ICU_CONF_OPT = \
|
|
|
|
--disable-samples \
|
|
|
|
--disable-tests \
|
|
|
|
--disable-extras \
|
|
|
|
--disable-icuio \
|
2013-06-30 05:23:26 +02:00
|
|
|
--disable-layout \
|
|
|
|
--disable-renaming
|
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
|
|
|
|
|
2014-05-13 18:10:18 +02:00
|
|
|
ifneq ($(BR2_PACKAGE_ICU_CUSTOM_DATA_PATH),)
|
|
|
|
define ICU_COPY_CUSTOM_DATA
|
|
|
|
cp $(BR2_PACKAGE_ICU_CUSTOM_DATA_PATH) $(@D)/source/data/in/
|
|
|
|
endef
|
|
|
|
ICU_POST_PATCH_HOOKS += ICU_COPY_CUSTOM_DATA
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2012-07-03 00:06:54 +02:00
|
|
|
$(eval $(host-autotools-package))
|