comparison src/fontconfig.mk @ 2662:8aa95959e3d1

update package fontconfig
author Mark Brand <mabrand@mabrand.nl>
date Tue, 17 Jul 2012 09:50:31 +0200
parents 076adc3c23f7
children 879c46089542
comparison
equal deleted inserted replaced
2660:9aa687683a32 2662:8aa95959e3d1
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 PKG := fontconfig 4 PKG := fontconfig
5 $(PKG)_IGNORE := 5 $(PKG)_IGNORE :=
6 $(PKG)_CHECKSUM := 1ab2f437c2261028ae7969892277af2d8d8db489 6 $(PKG)_CHECKSUM := d47c6fa5693f91e274d655b5644dd333716c1395
7 $(PKG)_SUBDIR := fontconfig-$($(PKG)_VERSION) 7 $(PKG)_SUBDIR := fontconfig-$($(PKG)_VERSION)
8 $(PKG)_FILE := fontconfig-$($(PKG)_VERSION).tar.gz 8 $(PKG)_FILE := fontconfig-$($(PKG)_VERSION).tar.gz
9 $(PKG)_URL := http://fontconfig.org/release/$($(PKG)_FILE) 9 $(PKG)_URL := http://fontconfig.org/release/$($(PKG)_FILE)
10 $(PKG)_DEPS := gcc freetype expat 10 $(PKG)_DEPS := gcc freetype expat
11 11
14 $(SED) -n 's,.*fontconfig-\([0-9][^>]*\)\.tar.*,\1,p' | \ 14 $(SED) -n 's,.*fontconfig-\([0-9][^>]*\)\.tar.*,\1,p' | \
15 tail -1 15 tail -1
16 endef 16 endef
17 17
18 define $(PKG)_BUILD 18 define $(PKG)_BUILD
19 cd '$(1)' && aclocal
20 cd '$(1)' && autoheader
21 cd '$(1)' && libtoolize
22 cd '$(1)' && automake
23 cd '$(1)' && autoconf
24 cd '$(1)' && ./configure \ 19 cd '$(1)' && ./configure \
25 --host='$(TARGET)' \ 20 --host='$(TARGET)' \
26 --build="`config.guess`" \ 21 --build="`config.guess`" \
27 --disable-shared \ 22 --disable-shared \
28 --prefix='$(PREFIX)/$(TARGET)' \ 23 --prefix='$(PREFIX)/$(TARGET)' \
29 --with-arch='$(TARGET)' \ 24 --with-arch='$(TARGET)' \
30 --with-freetype-config='$(PREFIX)/$(TARGET)/bin/freetype-config' \
31 --with-expat='$(PREFIX)/$(TARGET)' 25 --with-expat='$(PREFIX)/$(TARGET)'
32 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= 26 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
33 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= 27 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
34 endef 28 endef