2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2008-11-08 20:25:30 +00:00
|
|
|
|
2009-04-05 13:00:17 +01:00
|
|
|
PKG := fontconfig
|
2017-03-05 03:41:39 +00:00
|
|
|
$(PKG)_WEBSITE := https://fontconfig.org/
|
2009-09-20 13:36:46 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2017-09-22 22:48:13 +01:00
|
|
|
$(PKG)_VERSION := 2.12.6
|
|
|
|
$(PKG)_CHECKSUM := cf0c30807d08f6a28ab46c61b8dbd55c97d2f292cf88f3a07d3384687f31f017
|
2009-04-05 13:00:17 +01:00
|
|
|
$(PKG)_SUBDIR := fontconfig-$($(PKG)_VERSION)
|
2012-09-04 14:05:49 +01:00
|
|
|
$(PKG)_FILE := fontconfig-$($(PKG)_VERSION).tar.bz2
|
2017-03-05 03:41:39 +00:00
|
|
|
$(PKG)_URL := https://fontconfig.org/release/$($(PKG)_FILE)
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc expat freetype-bootstrap
|
2008-11-08 20:25:30 +00:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2017-03-05 03:41:39 +00:00
|
|
|
$(WGET) -q -O- 'https://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 \
|
2014-02-09 12:29:51 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
2008-11-08 20:25:30 +00:00
|
|
|
--with-arch='$(TARGET)' \
|
2013-02-10 07:53:55 +00:00
|
|
|
--with-expat='$(PREFIX)/$(TARGET)' \
|
|
|
|
--disable-docs
|
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
|