Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= icu4c
  5. PKG_VERSION:= 52.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 9e96ed4c1d99c0d14ac03c140f9f346c
  8. PKG_DESCR:= unicode and globalization library
  9. PKG_SECTION:= libs/misc
  10. PKG_BUILDDEP:= icu4c-host
  11. PKG_URL:= http://icu-project.org
  12. PKG_SITES:= http://download.icu-project.org/files/icu4c/52.1/
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-52_1-src.tgz
  15. WRKDIST= ${WRKDIR}/icu/source
  16. include $(ADK_TOPDIR)/mk/host.mk
  17. include $(ADK_TOPDIR)/mk/package.mk
  18. $(eval $(call HOST_template,ICU4C,icu4c,$(PKG_VERSION)-${PKG_RELEASE}))
  19. $(eval $(call PKG_template,ICU4C,icu4c,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. CFLAGS_FOR_BUILD+= -fPIC
  21. CXXFLAGS_FOR_BUILD+= -fPIC
  22. HOST_STYLE:= auto
  23. HOST_CONFIGURE_ARGS+= --enable-extras=no \
  24. --enable-samples=no \
  25. --enable-tests=no \
  26. --enable-dyload=no \
  27. --enable-shared=no \
  28. --enable-static
  29. CONFIGURE_ARGS+= --with-cross-build=${HOST_BUILD_DIR}/w-${PKG_NAME}-${PKG_VERSION}-${PKG_RELEASE}-host/icu/source \
  30. --enable-extras=no \
  31. --enable-samples=no \
  32. --enable-tests=no \
  33. icu4c-hostinstall:
  34. icu4c-install:
  35. $(INSTALL_DIR) $(IDIR_ICU4C)/usr/lib
  36. $(CP) $(WRKINST)/usr/lib/libicuuc.so* \
  37. $(IDIR_ICU4C)/usr/lib
  38. include ${ADK_TOPDIR}/mk/host-bottom.mk
  39. include ${ADK_TOPDIR}/mk/pkg-bottom.mk