1
0

Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 $(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
  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 $(TOPDIR)/mk/host.mk
  17. include $(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. HOST_STYLE:= auto
  21. HOST_CONFIGURE_ARGS+= --enable-extras=no \
  22. --enable-samples=no \
  23. --enable-tests=no \
  24. --enable-shared=no \
  25. --enable-dyload=no \
  26. --enable-static
  27. CONFIGURE_ARGS+= --with-cross-build=${HOST_BUILD_DIR}/w-${PKG_NAME}-${PKG_VERSION}-${PKG_RELEASE}-host/icu/source \
  28. --enable-extras=no \
  29. --enable-samples=no \
  30. --enable-tests=no \
  31. icu4c-hostinstall:
  32. icu4c-install:
  33. $(INSTALL_DIR) $(IDIR_ICU4C)/usr/lib
  34. $(CP) $(WRKINST)/usr/lib/libicuuc.so* \
  35. $(IDIR_ICU4C)/usr/lib
  36. include ${TOPDIR}/mk/host-bottom.mk
  37. include ${TOPDIR}/mk/pkg-bottom.mk