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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= libXfont
  5. PKG_VERSION:= 1.4.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c508998fba44b2b089f2952eb4418420
  8. PKG_DESCR:= X font Library
  9. PKG_SECTION:= x11/libs
  10. PKG_DEPENDS:= libfreetype
  11. PKG_BUILDDEP:= freetype fontcacheproto fontsproto libfontenc xtrans
  12. PKG_SITES:= ${MASTER_SITE_XORG}
  13. PKG_SUBPKGS:= LIBXFONT LIBXFONT_DEV
  14. PKGSD_LIBXFONT_DEV:= X font headers
  15. PKGSC_LIBXFONT_DEV:= x11/devel
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LIBXFONT,libxfont,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBXFONT_DEV,libxfont-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXFONT_DEV},${PKGSC_LIBXFONT_DEV}))
  19. CONFIGURE_ENV+= ac_cv_path_XMLTO=true
  20. libxfont-install:
  21. ${INSTALL_DIR} ${IDIR_LIBXFONT}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libXfont.so* ${IDIR_LIBXFONT}/usr/lib
  23. libxfont-dev-install:
  24. ${INSTALL_DIR} ${IDIR_LIBXFONT_DEV}/usr/include
  25. ${CP} ${WRKINST}/usr/include/* \
  26. ${IDIR_LIBXFONT_DEV}/usr/include
  27. ${INSTALL_DIR} ${IDIR_LIBXFONT_DEV}/usr/lib/pkgconfig
  28. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/xfont.pc \
  29. ${IDIR_LIBXFONT_DEV}/usr/lib/pkgconfig
  30. include ${TOPDIR}/mk/pkg-bottom.mk