Makefile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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:= font-util
  5. PKG_VERSION:= 1.1.1
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 171ebfd3733aeae3af91ad57d126d29d
  8. PKG_DESCR:= font util
  9. PKG_SECTION:= x11/apps
  10. PKG_URL:= http://www.x.org/
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_SUBPKGS:= FONT_UTIL FONT_UTIL_DEV
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,FONT_UTIL,font-util,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  15. $(eval $(call PKG_template,FONT_UTIL_DEV,font-util-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. # XXX: Push the mapping files to a place where we can find them
  17. # again when compiling the actual fonts. This is ugly as hell,
  18. # especially as all font packages still need patching to avoid
  19. # calling pkg-config (which we don't provide) in order to
  20. # automatically find the mappings.
  21. fonts-hack:
  22. ${INSTALL_DIR} ${STAGING_DIR}/usr/share/fonts/X11/util
  23. ${CP} ${WRKINST}/usr/share/fonts/X11/util/* \
  24. ${STAGING_DIR}/usr/share/fonts/X11/util
  25. font-util-install: fonts-hack
  26. ${INSTALL_DIR} ${IDIR_FONT_UTIL}/usr/bin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/ucs2any \
  28. ${IDIR_FONT_UTIL}/usr/bin
  29. ${INSTALL_BIN} ${WRKINST}/usr/bin/bdftruncate \
  30. ${IDIR_FONT_UTIL}/usr/bin
  31. ${INSTALL_DIR} ${IDIR_FONT_UTIL}/usr/share/fonts/X11/util
  32. ${CP} ${WRKINST}/usr/share/fonts/X11/util/* \
  33. ${IDIR_FONT_UTIL}/usr/share/fonts/X11/util
  34. font-util-dev-install:
  35. ${INSTALL_DIR} ${IDIR_FONT_UTIL_DEV}/usr/lib/pkgconfig
  36. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/fontutil.pc \
  37. ${IDIR_FONT_UTIL_DEV}/usr/lib/pkgconfig
  38. include ${TOPDIR}/mk/pkg-bottom.mk