python3: update to 3.11.10
[openadk.git] / package / icu4c / Makefile
blob57851e92fa9106e31927d1d5ad988c5920faaf5f
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
6 PKG_NAME:= icu4c
7 PKG_VERSION:= 70.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= 8d205428c17bf13bb535300669ed28b338a157b1c01ae66d31d0d3e2d47c3fd5
10 PKG_DESCR:= unicode and globalization library
11 PKG_SECTION:= libs/misc
12 PKG_BUILDDEP:= icu4c-host
13 PKG_NEEDS:= c++
14 PKG_URL:= http://icu-project.org
15 PKG_SITES:= https://github.com/unicode-org/icu/releases/download/release-70-1/
16 PKG_OPTS:= dev
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
30 HOST_STYLE:= auto
31 HOST_CONFIGURE_ARGS+= --enable-extras=no \
32 --enable-samples=no \
33 --enable-tests=no \
34 --enable-dyload=no \
35 --enable-shared=no \
36 --enable-static
37 CONFIGURE_ARGS+= --with-cross-build=${HOST_BUILD_DIR}/w-${PKG_NAME}-${PKG_VERSION}-${PKG_RELEASE}-host/icu/source \
38 --enable-extras=no \
39 --enable-samples=no \
40 --enable-tests=no \
42 icu4c-hostinstall:
44 icu4c-install:
45 $(INSTALL_DIR) $(IDIR_ICU4C)/usr/lib
46 $(CP) $(WRKINST)/usr/lib/libicuuc.so* \
47 $(IDIR_ICU4C)/usr/lib
48 $(CP) $(WRKINST)/usr/lib/libicudata.so* \
49 $(IDIR_ICU4C)/usr/lib
50 $(CP) $(WRKINST)/usr/lib/libicui18n.so* \
51 $(IDIR_ICU4C)/usr/lib
53 include ${ADK_TOPDIR}/mk/host-bottom.mk
54 include ${ADK_TOPDIR}/mk/pkg-bottom.mk