1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 8d205428c17bf13bb535300669ed28b338a157b1c01ae66d31d0d3e2d47c3fd5
10 PKG_DESCR
:= unicode and globalization library
11 PKG_SECTION
:= libs
/misc
12 PKG_BUILDDEP
:= icu4c-host
14 PKG_URL
:= http
://icu-project.org
15 PKG_SITES
:= https
://github.com
/unicode-org
/icu
/releases
/download
/release-70-1
/
18 DISTFILES
:= ${PKG_NAME}-70_1-src.tgz
20 WRKDIST
= ${WRKDIR}/icu
/source
22 include $(ADK_TOPDIR
)/mk
/host.mk
23 include $(ADK_TOPDIR
)/mk
/package.mk
25 $(eval
$(call HOST_template
,ICU4C
,icu4c
,$(PKG_VERSION
)-${PKG_RELEASE}))
26 $(eval
$(call PKG_template
,ICU4C
,icu4c
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
28 HOST_CFLAGS
+= -static-libstdc
++ -fPIC
29 HOST_CXXFLAGS
+= -static-libstdc
++ -fPIC
31 HOST_CONFIGURE_ARGS
+= --enable-extras
=no \
37 CONFIGURE_ARGS
+= --with-cross-build
=${HOST_BUILD_DIR}/w-
${PKG_NAME}-${PKG_VERSION}-${PKG_RELEASE}-host
/icu
/source \
45 $(INSTALL_DIR
) $(IDIR_ICU4C
)/usr
/lib
46 $(CP
) $(WRKINST
)/usr
/lib
/libicuuc.so
* \
48 $(CP
) $(WRKINST
)/usr
/lib
/libicudata.so
* \
50 $(CP
) $(WRKINST
)/usr
/lib
/libicui18n.so
* \
53 include ${ADK_TOPDIR}/mk
/host-bottom.mk
54 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk