Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= fontconfig
  5. PKG_VERSION:= 2.11.0
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 274c047487b90dacbaa55f4d70b8cdcd556944e7251ce9cf1de442c00a16343b
  8. PKG_DESCR:= library for configuring and customizing font access
  9. PKG_SECTION:= libs/fonts
  10. PKG_DEPENDS:= libxml2
  11. PKG_BUILDDEP:= freetype libxml2
  12. HOST_BUILDDEP:= expat-host
  13. PKG_URL:= http://fontconfig.org/
  14. PKG_SITES:= http://fontconfig.org/release/
  15. PKG_OPTS:= dev
  16. PKG_BUILDDEP_UCLIBC:= libiconv-tiny
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  18. include ${ADK_TOPDIR}/mk/host.mk
  19. include ${ADK_TOPDIR}/mk/package.mk
  20. $(eval $(call HOST_template,FONTCONFIG,fontconfig,${PKG_VERSION}-${PKG_RELEASE}))
  21. $(eval $(call PKG_template,FONTCONFIG,fontconfig,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  22. HOST_STYLE:= auto
  23. CONFIGURE_ARGS+= --with-arch=${ADK_TARGET_ARCH} \
  24. --enable-libxml2 \
  25. --disable-docs
  26. fontconfig-install:
  27. ${INSTALL_DIR} ${IDIR_FONTCONFIG}/usr/lib ${IDIR_FONTCONFIG}/etc/fonts
  28. ${CP} ${WRKINST}/usr/lib/libfontconfig.so* ${IDIR_FONTCONFIG}/usr/lib
  29. $(CP) ${WRKINST}/etc/fonts/* ${IDIR_FONTCONFIG}/etc/fonts
  30. include ${ADK_TOPDIR}/mk/host-bottom.mk
  31. include ${ADK_TOPDIR}/mk/pkg-bottom.mk