mxe/src/fontconfig.mk

29 lines
972 B
Makefile
Raw Normal View History

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
PKG := fontconfig
$(PKG)_IGNORE :=
2012-07-17 08:50:31 +01:00
$(PKG)_CHECKSUM := d47c6fa5693f91e274d655b5644dd333716c1395
$(PKG)_SUBDIR := fontconfig-$($(PKG)_VERSION)
$(PKG)_FILE := fontconfig-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://fontconfig.org/release/$($(PKG)_FILE)
$(PKG)_DEPS := gcc freetype expat
2008-11-08 20:25:30 +00:00
define $(PKG)_UPDATE
$(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)' \
--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