e1502ebc0c
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
29 lines
902 B
Makefile
29 lines
902 B
Makefile
#############################################################
|
|
#
|
|
# International Components for Unicode
|
|
#
|
|
#############################################################
|
|
|
|
ICU_VERSION = 4.8.1.1
|
|
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
|
|
ICU_MAKE = $(MAKE1)
|
|
ICU_SUBDIR = source
|
|
HOST_ICU_SUBDIR = source
|
|
|
|
define ICU_PREFIX_FIXUP
|
|
$(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
|
|
endef
|
|
|
|
ICU_POST_INSTALL_TARGET_HOOKS += ICU_PREFIX_FIXUP
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|