annotate src/fontconfig.mk @ 714:29f1ba4559ae

point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 08 Feb 2010 00:58:06 +0100
parents dab071eac9c0
children bf4bcb3370fa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 569
diff changeset
1 # This file is part of mingw-cross-env.
714
29f1ba4559ae point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
2 # See doc/index.html for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 409
diff changeset
3
153
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # fontconfig
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 269
diff changeset
5 PKG := fontconfig
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 432
diff changeset
6 $(PKG)_IGNORE :=
569
ea7dc53d5c8b update version of packages atk, boost, fontconfig, gdal, geos, glib, lcms, libevent, pango, pixman, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 449
diff changeset
7 $(PKG)_VERSION := 2.8.0
ea7dc53d5c8b update version of packages atk, boost, fontconfig, gdal, geos, glib, lcms, libevent, pango, pixman, sdl_image and sdl_mixer
Volker Grabsch <vog@notjusthosting.com>
parents: 449
diff changeset
8 $(PKG)_CHECKSUM := 570fb55eb14f2c92a7b470b941e9d35dbfafa716
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 269
diff changeset
9 $(PKG)_SUBDIR := fontconfig-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 269
diff changeset
10 $(PKG)_FILE := fontconfig-$($(PKG)_VERSION).tar.gz
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 269
diff changeset
11 $(PKG)_WEBSITE := http://fontconfig.org/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 269
diff changeset
12 $(PKG)_URL := http://fontconfig.org/release/$($(PKG)_FILE)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 269
diff changeset
13 $(PKG)_DEPS := gcc freetype expat
153
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://fontconfig.org/release/' | \
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 $(SED) -n 's,.*fontconfig-\([0-9][^>]*\)\.tar.*,\1,p' | \
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 tail -1
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 # ensure there is no (buggy) attempt to install the *.dll.a file
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 # (remove this line of you want to link dynamically)
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 $(SED) 's,^install-data-local:.*,install-data-local:,' -i '$(1)/src/Makefile.in'
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 # wine confuses the cross-compiling detection, so set it explicitly
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure'
269
16a7b5bac4b5 bugfix in several build rules: use "$(SED)" instead of "sed"
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
27 $(SED) 's,^\(Libs:.*\),\1 @EXPAT_LIBS@ @FREETYPE_LIBS@,' -i '$(1)/fontconfig.pc.in'
153
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 cd '$(1)' && ./configure \
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --host='$(TARGET)' \
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --disable-shared \
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --prefix='$(PREFIX)/$(TARGET)' \
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --with-arch='$(TARGET)' \
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 --with-freetype-config='$(PREFIX)/$(TARGET)/bin/freetype-config' \
188
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents: 177
diff changeset
34 --with-expat='$(PREFIX)/$(TARGET)'
220
32eef23cb982 portability fixes for MacOS X
Volker Grabsch <vog@notjusthosting.com>
parents: 188
diff changeset
35 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
32eef23cb982 portability fixes for MacOS X
Volker Grabsch <vog@notjusthosting.com>
parents: 188
diff changeset
36 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
153
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 endef