script not used, cleanup
[openadk.git] / package / font-util / Makefile
blobec2559275bed7be2e9da64dcc856071a36a86d09
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= font-util
7 PKG_VERSION:= 1.3.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= 34ebb0c9c14e0a392cdd5ea055c92489ad88d55ae148b2f1cfded0f3f63f2b5b
10 PKG_DESCR:= font utility
11 PKG_SECTION:= x11/fonts
12 PKG_URL:= http://www.x.org/
13 PKG_SITES:= http://www.x.org/releases/individual/font/
15 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
17 include ${ADK_TOPDIR}/mk/package.mk
19 $(eval $(call PKG_template,FONT_UTIL,font-util,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 # XXX: Push the mapping files to a place where we can find them
22 # again when compiling the actual fonts. This is ugly as hell,
23 # especially as all font packages still need patching to avoid
24 # calling pkg-config (which we don't provide) in order to
25 # automatically find the mappings.
26 post-build:
27 ${INSTALL_DIR} ${STAGING_TARGET_DIR}/usr/share/fonts/X11/util
28 ${CP} ${WRKBUILD}/map-* \
29 ${STAGING_TARGET_DIR}/usr/share/fonts/X11/util
31 font-util-install:
32 ${INSTALL_DIR} ${IDIR_FONT_UTIL}/usr/bin
33 ${INSTALL_BIN} ${WRKINST}/usr/bin/ucs2any \
34 ${IDIR_FONT_UTIL}/usr/bin
35 ${INSTALL_BIN} ${WRKINST}/usr/bin/bdftruncate \
36 ${IDIR_FONT_UTIL}/usr/bin
37 ${INSTALL_DIR} ${IDIR_FONT_UTIL}/usr/share/fonts/X11/util
38 ${CP} ${WRKINST}/usr/share/fonts/X11/util/* \
39 ${IDIR_FONT_UTIL}/usr/share/fonts/X11/util
41 include ${ADK_TOPDIR}/mk/pkg-bottom.mk