summaryrefslogtreecommitdiffstats
path: root/rules/host-fontconfig.make
blob: 97b4d0faad0c57591f7e32a39a963cbf50df2efa (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
42
43
44
45
46
47
# -*-makefile-*-
#
# Copyright (C) 2007 by Robert Schwebel
#           (C) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_FONTCONFIG) += host-fontconfig

#
# Paths and names
#
HOST_FONTCONFIG_DIR	= $(HOST_BUILDDIR)/$(FONTCONFIG)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

HOST_FONTCONFIG_CONF_ENV	:= \
	$(HOST_ENV) \
	ac_cv_prog_HASDOCBOOK=no

#
# autoconf
#
HOST_FONTCONFIG_CONF_TOOL := autoconf
HOST_FONTCONFIG_CONF_OPT := \
	$(HOST_AUTOCONF) \
	--disable-nls \
	--disable-rpath \
	--disable-iconv \
	--disable-libxml2 \
	--disable-docs \
	--with-arch=$(PTXCONF_ARCH_STRING) \
	--with-default-fonts=$(XORG_FONTDIR) \
	--with-cache-dir=$(PTXCONF_SYSROOT_HOST)/var/cache/fontconfig

HOST_FONTCONFIG_MAKE_PAR := NO

# vim: syntax=make