2012-03-28 14:46:58 +01:00
|
|
|
# This file is part of MXE.
|
2012-03-29 11:14:15 +01:00
|
|
|
# See index.html for further information.
|
2008-11-08 20:25:30 +00:00
|
|
|
|
2009-04-05 13:00:17 +01:00
|
|
|
PKG := fontconfig
|
2009-09-20 13:36:46 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2012-07-17 08:50:31 +01:00
|
|
|
$(PKG)_CHECKSUM := d47c6fa5693f91e274d655b5644dd333716c1395
|
2009-04-05 13:00:17 +01:00
|
|
|
$(PKG)_SUBDIR := fontconfig-$($(PKG)_VERSION)
|
2012-06-12 22:37:49 +01:00
|
|
|
$(PKG)_FILE := fontconfig-$($(PKG)_VERSION).tar.gz
|
2009-04-05 13:00:17 +01:00
|
|
|
$(PKG)_URL := http://fontconfig.org/release/$($(PKG)_FILE)
|
|
|
|
$(PKG)_DEPS := gcc freetype expat
|
2008-11-08 20:25:30 +00:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2012-05-08 16:16:05 +01:00
|
|
|
$(WGET) -q -O- 'http://fontconfig.org/release/' | \
|
2008-11-08 20:25:30 +00:00
|
|
|
$(SED) -n 's,.*fontconfig-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
|
|
|
tail -1
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && ./configure \
|
|
|
|
--host='$(TARGET)' \
|
2011-11-28 08:51:56 +00:00
|
|
|
--build="`config.guess`" \
|
2008-11-08 20:25:30 +00:00
|
|
|
--disable-shared \
|
|
|
|
--prefix='$(PREFIX)/$(TARGET)' \
|
|
|
|
--with-arch='$(TARGET)' \
|
2008-11-10 10:09:59 +00:00
|
|
|
--with-expat='$(PREFIX)/$(TARGET)'
|
2009-02-03 20:48:46 +00:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
|
|
|
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
2008-11-08 20:25:30 +00:00
|
|
|
endef
|