12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include ${TOPDIR}/rules.mk
- PKG_NAME:= font-util
- PKG_VERSION:= 1.1.1
- PKG_RELEASE:= 2
- PKG_MD5SUM:= 171ebfd3733aeae3af91ad57d126d29d
- PKG_DESCR:= font util
- PKG_SECTION:= x11/apps
- PKG_URL:= http://www.x.org/
- PKG_SITES:= ${MASTER_SITE_XORG}
- PKG_SUBPKGS:= FONT_UTIL FONT_UTIL_DEV
- PKGSC_FONT_UTIL_DEV:= devel
- PKGSD_FONT_UTIL_DEV:= font util headers
- include ${TOPDIR}/mk/package.mk
- $(eval $(call PKG_template,FONT_UTIL,font-util,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
- $(eval $(call PKG_template,FONT_UTIL_DEV,font-util-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_FONT_UTIL_DEV},${PKGSC_FONT_UTIL_DEV},${PKG_OPTS}))
- # XXX: Push the mapping files to a place where we can find them
- # again when compiling the actual fonts. This is ugly as hell,
- # especially as all font packages still need patching to avoid
- # calling pkg-config (which we don't provide) in order to
- # automatically find the mappings.
- fonts-hack:
- ${INSTALL_DIR} ${STAGING_DIR}/usr/share/fonts/X11/util
- ${CP} ${WRKINST}/usr/share/fonts/X11/util/* \
- ${STAGING_DIR}/usr/share/fonts/X11/util
- font-util-install: fonts-hack
- ${INSTALL_DIR} ${IDIR_FONT_UTIL}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/ucs2any \
- ${IDIR_FONT_UTIL}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/bdftruncate \
- ${IDIR_FONT_UTIL}/usr/bin
- ${INSTALL_DIR} ${IDIR_FONT_UTIL}/usr/share/fonts/X11/util
- ${CP} ${WRKINST}/usr/share/fonts/X11/util/* \
- ${IDIR_FONT_UTIL}/usr/share/fonts/X11/util
- font-util-dev-install:
- ${INSTALL_DIR} ${IDIR_FONT_UTIL_DEV}/usr/lib/pkgconfig
- ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/fontutil.pc \
- ${IDIR_FONT_UTIL_DEV}/usr/lib/pkgconfig
- include ${TOPDIR}/mk/pkg-bottom.mk
|