aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# icu
|
|
#
|
|
################################################################################
|
|
|
|
ICU_VERSION = 51.2
|
|
ICU_SOURCE = icu4c-$(subst .,_,$(ICU_VERSION))-src.tgz
|
|
ICU_SITE = http://download.icu-project.org/files/icu4c/$(ICU_VERSION)
|
|
ICU_LICENSE = ICU License
|
|
ICU_LICENSE_FILES = license.html
|
|
|
|
ICU_DEPENDENCIES = host-icu
|
|
ICU_INSTALL_STAGING = YES
|
|
ICU_CONFIG_SCRIPTS = icu-config
|
|
ICU_CONF_OPTS = --with-cross-build=$(HOST_ICU_DIR)/source --disable-samples \
|
|
--disable-tests
|
|
HOST_ICU_CONF_OPTS = \
|
|
--disable-samples \
|
|
--disable-tests \
|
|
--disable-extras \
|
|
--disable-icuio \
|
|
--disable-layout \
|
|
--disable-renaming
|
|
ICU_MAKE = $(MAKE1)
|
|
ICU_SUBDIR = source
|
|
HOST_ICU_SUBDIR = source
|
|
|
|
ICU_CUSTOM_DATA_PATH = $(call qstrip,$(BR2_PACKAGE_ICU_CUSTOM_DATA_PATH))
|
|
|
|
ifneq ($(ICU_CUSTOM_DATA_PATH),)
|
|
define ICU_COPY_CUSTOM_DATA
|
|
cp $(ICU_CUSTOM_DATA_PATH) $(@D)/source/data/in/
|
|
endef
|
|
ICU_POST_PATCH_HOOKS += ICU_COPY_CUSTOM_DATA
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|