Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  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:= 1
  7. PKG_MD5SUM:= 171ebfd3733aeae3af91ad57d126d29d
  8. PKG_DESCR:= font util
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.x.org/
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,FONT_UTIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  14. # XXX: Push the mapping files to a place where we can find them
  15. # again when compiling the actual fonts. This is ugly as hell,
  16. # especially as all font packages still need patching to avoid
  17. # calling pkg-config (which we don't provide) in order to
  18. # automatically find the mappings.
  19. fonts-hack:
  20. ${INSTALL_DIR} ${STAGING_DIR}/usr/share/fonts/X11/util
  21. ${CP} ${WRKINST}/usr/share/fonts/X11/util/* \
  22. ${STAGING_DIR}/usr/share/fonts/X11/util
  23. post-install: fonts-hack
  24. ${INSTALL_DIR} ${IDIR_FONT_UTIL}/usr/share/fonts/X11/util
  25. ${CP} ${WRKINST}/usr/share/fonts/X11/util/* \
  26. ${IDIR_FONT_UTIL}/usr/share/fonts/X11/util
  27. include ${TOPDIR}/mk/pkg-bottom.mk