summaryrefslogtreecommitdiff
path: root/package/font-util/Makefile
blob: b3faf7f7e8227789df4a3ce42390a8a12e16708c (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
# 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:=		1
PKG_MD5SUM:=		171ebfd3733aeae3af91ad57d126d29d
PKG_DESCR:=		font util
PKG_SECTION:=		libs
PKG_URL:=		http://www.x.org/
PKG_SITES:=		${MASTER_SITE_XORG}

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,FONT_UTIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${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

post-install: fonts-hack
	${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 ${TOPDIR}/mk/pkg-bottom.mk