Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= libXft
  5. PKG_VERSION:= 2.1.9
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 0a1e129b1d8b2d3905dc02a64255b781
  8. PKG_DESCR:= X FreeType library
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= libXrender fontconfig
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_SUBPKGS:= LIBXFT LIBXFT_DEV
  13. PKGSD_LIBXFT_DEV:= X FreeType headers
  14. PKGSC_LIBXFT_DEV:= x11/devel
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBXFT,libxft,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBXFT_DEV,libxft-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXFT_DEV},${PKGSC_LIBXFT_DEV}))
  18. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  19. libxft-install:
  20. ${INSTALL_DIR} ${IDIR_LIBXFT}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libXft.so* ${IDIR_LIBXFT}/usr/lib
  22. libxft-dev-install:
  23. ${INSTALL_DIR} ${IDIR_LIBXFT_DEV}/usr/include
  24. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBXFT_DEV}/usr/include
  25. ${INSTALL_DIR} ${IDIR_LIBXFT_DEV}/usr/lib/pkgconfig
  26. $(CP) ${WRKINST}/usr/lib/pkgconfig/*.pc \
  27. ${IDIR_LIBXFT_DEV}/usr/lib/pkgconfig
  28. include ${TOPDIR}/mk/pkg-bottom.mk