mxe/src/fontconfig.mk

30 lines
1005 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 :=
2013-01-13 04:19:49 +00:00
$(PKG)_CHECKSUM := 39aeb881c422fa0f0cd5e044ed05c94835fd89c4
$(PKG)_SUBDIR := fontconfig-$($(PKG)_VERSION)
2012-09-04 14:05:49 +01:00
$(PKG)_FILE := fontconfig-$($(PKG)_VERSION).tar.bz2
$(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
2013-01-13 04:19:49 +00:00
cd '$(1)' && autoreconf -fi
2008-11-08 20:25:30 +00:00
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