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
|
|
|
|
2015-04-03 14:27:24 +02:00
|
|
|
ICU_VERSION = 55.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)
|
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
|
2014-12-24 08:54:24 +01:00
|
|
|
ICU_CONF_OPTS = \
|
|
|
|
--with-cross-build=$(HOST_ICU_DIR)/source \
|
|
|
|
--disable-samples \
|
|
|
|
--disable-tests
|
2014-09-27 21:32:44 +02:00
|
|
|
HOST_ICU_CONF_OPTS = \
|
2013-03-09 05:03:00 +01:00
|
|
|
--disable-samples \
|
|
|
|
--disable-tests \
|
|
|
|
--disable-extras \
|
|
|
|
--disable-icuio \
|
2013-06-30 05:23:26 +02:00
|
|
|
--disable-layout \
|
|
|
|
--disable-renaming
|
2010-12-22 13:04:05 +01:00
|
|
|
ICU_SUBDIR = source
|
|
|
|
HOST_ICU_SUBDIR = source
|
|
|
|
|
2014-07-29 13:23:34 +02:00
|
|
|
ICU_CUSTOM_DATA_PATH = $(call qstrip,$(BR2_PACKAGE_ICU_CUSTOM_DATA_PATH))
|
|
|
|
|
|
|
|
ifneq ($(ICU_CUSTOM_DATA_PATH),)
|
2014-05-13 18:10:18 +02:00
|
|
|
define ICU_COPY_CUSTOM_DATA
|
2014-07-29 13:23:34 +02:00
|
|
|
cp $(ICU_CUSTOM_DATA_PATH) $(@D)/source/data/in/
|
2014-05-13 18:10:18 +02:00
|
|
|
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))
|