blob: ec2559275bed7be2e9da64dcc856071a36a86d09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= font-util
PKG_VERSION:= 1.3.1
PKG_RELEASE:= 1
PKG_HASH:= 34ebb0c9c14e0a392cdd5ea055c92489ad88d55ae148b2f1cfded0f3f63f2b5b
PKG_DESCR:= font utility
PKG_SECTION:= x11/fonts
PKG_URL:= http://www.x.org/
PKG_SITES:= http://www.x.org/releases/individual/font/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FONT_UTIL,font-util,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
# 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.
post-build:
${INSTALL_DIR} ${STAGING_TARGET_DIR}/usr/share/fonts/X11/util
${CP} ${WRKBUILD}/map-* \
${STAGING_TARGET_DIR}/usr/share/fonts/X11/util
font-util-install:
${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
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|