Mercurial > mxe-octave
annotate src/fontconfig.mk @ 2349:f48c5b085a38
Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 11:07:07 +0200 |
parents | f653602a0500 |
children | 99516e73b368 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2300
diff
changeset
|
1 # This file is part of MXE. |
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 | 7 $(PKG)_CHECKSUM := 1ab2f437c2261028ae7969892277af2d8d8db489 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
269
diff
changeset
|
8 $(PKG)_SUBDIR := fontconfig-$($(PKG)_VERSION) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
269
diff
changeset
|
9 $(PKG)_FILE := fontconfig-$($(PKG)_VERSION).tar.gz |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
269
diff
changeset
|
10 $(PKG)_URL := http://fontconfig.org/release/$($(PKG)_FILE) |
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
269
diff
changeset
|
11 $(PKG)_DEPS := gcc freetype expat |
153
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 wget -q -O- 'http://fontconfig.org/release/' | \ |
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 $(SED) -n 's,.*fontconfig-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 tail -1 |
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 endef |
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 |
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 # ensure there is no (buggy) attempt to install the *.dll.a file |
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 # (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
|
22 $(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
|
23 $(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
|
24 cd '$(1)' && ./configure \ |
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 --host='$(TARGET)' \ |
2153
e4c83fa61a5b
replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents:
2148
diff
changeset
|
26 --build="`config.guess`" \ |
153
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 --disable-shared \ |
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 --prefix='$(PREFIX)/$(TARGET)' \ |
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
29 --with-arch='$(TARGET)' \ |
efa211bbfd73
translated package: fontconfig
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
30 --with-freetype-config='$(PREFIX)/$(TARGET)/bin/freetype-config' \ |
188 | 31 --with-expat='$(PREFIX)/$(TARGET)' |
220
32eef23cb982
portability fixes for MacOS X
Volker Grabsch <vog@notjusthosting.com>
parents:
188
diff
changeset
|
32 $(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
|
33 $(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
|
34 endef |