libgpg-error: fix riscv64
[openadk.git] / package / font-util / Makefile
blob5b9289f89d34b867f02bf415e07500b1a892e7cc
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.2
8 PKG_RELEASE:= 1
9 PKG_HASH:= f115a3735604de1e852a4bf669be0269d8ce8f21f8e0e74ec5934b31dadc1e76
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