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
9 PKG_HASH
:= f5f359d6332861bd497570848fcb42520964a9e83d5e3abe397b6b6db9bcaaf4
10 PKG_DESCR
:= library for configuring and customizing font access
11 PKG_SECTION
:= libs
/fonts
13 PKG_BUILDDEP
:= freetype libxml2 gperf-host util-linux
14 HOST_BUILDDEP
:= expat-host
15 PKG_URL
:= http
://fontconfig.org
/
16 PKG_SITES
:= http
://fontconfig.org
/release
/
19 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
21 include ${ADK_TOPDIR}/mk
/host.mk
22 include ${ADK_TOPDIR}/mk
/package.mk
24 $(eval
$(call HOST_template
,FONTCONFIG
,fontconfig
,${PKG_VERSION}-${PKG_RELEASE}))
25 $(eval
$(call PKG_template
,FONTCONFIG
,fontconfig
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
28 CONFIGURE_ARGS
+= --with-arch
=${ADK_TARGET_ARCH} \
33 ${INSTALL_DIR} ${IDIR_FONTCONFIG}/usr
/lib
${IDIR_FONTCONFIG}/etc
/fonts
34 ${CP} ${WRKINST}/usr
/lib
/libfontconfig.so
* ${IDIR_FONTCONFIG}/usr
/lib
35 $(CP
) ${WRKINST}/etc
/fonts
/* ${IDIR_FONTCONFIG}/etc
/fonts
37 include ${ADK_TOPDIR}/mk
/host-bottom.mk
38 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk