annotate src/fontconfig.mk @ 2300:53d2ffa345f5

update package fontconfig --- src/fontconfig.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
author Mark Brand <mabrand@mabrand.nl>
date Fri, 23 Mar 2012 16:04:43 +0100
parents e4c83fa61a5b
children f653602a0500
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 :=
2300
53d2ffa345f5 update package fontconfig
Mark Brand <mabrand@mabrand.nl>
parents: 2153
diff changeset
7 $(PKG)_VERSION := 2.9.0
53d2ffa345f5 update package fontconfig
Mark Brand <mabrand@mabrand.nl>
parents: 2153
diff changeset
8 $(PKG)_CHECKSUM := 1ab2f437c2261028ae7969892277af2d8d8db489
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)
759
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
24 $(SED) -i 's,^install-data-local:.*,install-data-local:,' '$(1)/src/Makefile.in'
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
25 $(SED) -i 's,^\(Libs:.*\),\1 @EXPAT_LIBS@ @FREETYPE_LIBS@,' '$(1)/fontconfig.pc.in'
153
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 cd '$(1)' && ./configure \
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --host='$(TARGET)' \
2153
e4c83fa61a5b replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents: 2148
diff changeset
28 --build="`config.guess`" \
153
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --disable-shared \
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --prefix='$(PREFIX)/$(TARGET)' \
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --with-arch='$(TARGET)' \
efa211bbfd73 translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --with-freetype-config='$(PREFIX)/$(TARGET)/bin/freetype-config' \
188
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents: 177
diff changeset
33 --with-expat='$(PREFIX)/$(TARGET)'
220
32eef23cb982 portability fixes for MacOS X
Volker Grabsch <vog@notjusthosting.com>
parents: 188
diff changeset
34 $(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
35 $(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
36 endef