Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. PKG_URL:= http://fontconfig.org/
  13. PKG_SITES:= http://fontconfig.org/release/
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. ifeq ($(ADK_STATIC),y)
  17. PKG_OPTS+= libonly
  18. endif
  19. include ${TOPDIR}/mk/package.mk
  20. $(eval $(call PKG_template,FONTCONFIG,fontconfig,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. TARGET_LDFLAGS+= -liconv
  22. CONFIGURE_ARGS+= --with-arch=${ARCH} \
  23. --enable-libxml2 \
  24. --disable-docs
  25. fontconfig-install:
  26. ${INSTALL_DIR} ${IDIR_FONTCONFIG}/usr/lib ${IDIR_FONTCONFIG}/etc/fonts
  27. ${CP} ${WRKINST}/usr/lib/libfontconfig.so* ${IDIR_FONTCONFIG}/usr/lib
  28. $(CP) ${WRKINST}/etc/fonts/* ${IDIR_FONTCONFIG}/etc/fonts
  29. include ${TOPDIR}/mk/pkg-bottom.mk