mirror of https://git.wownero.com/dsc/mxe.git
29 lines
1.0 KiB
Makefile
29 lines
1.0 KiB
Makefile
# This file is part of MXE. See LICENSE.md for licensing information.
|
|
|
|
PKG := fontconfig
|
|
$(PKG)_WEBSITE := https://fontconfig.org/
|
|
$(PKG)_IGNORE :=
|
|
$(PKG)_VERSION := 2.12.6
|
|
$(PKG)_CHECKSUM := cf0c30807d08f6a28ab46c61b8dbd55c97d2f292cf88f3a07d3384687f31f017
|
|
$(PKG)_SUBDIR := fontconfig-$($(PKG)_VERSION)
|
|
$(PKG)_FILE := fontconfig-$($(PKG)_VERSION).tar.bz2
|
|
$(PKG)_URL := https://fontconfig.org/release/$($(PKG)_FILE)
|
|
$(PKG)_DEPS := cc expat freetype-bootstrap
|
|
|
|
define $(PKG)_UPDATE
|
|
$(WGET) -q -O- 'https://fontconfig.org/release/' | \
|
|
$(SED) -n 's,.*fontconfig-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
|
tail -1
|
|
endef
|
|
|
|
define $(PKG)_BUILD
|
|
cd '$(1)' && autoreconf -fi
|
|
cd '$(1)' && ./configure \
|
|
$(MXE_CONFIGURE_OPTS) \
|
|
--with-arch='$(TARGET)' \
|
|
--with-expat='$(PREFIX)/$(TARGET)' \
|
|
--disable-docs
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
|
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
|
endef
|