Makefile 1.3 KB

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