You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/fontconfig.mk

30 lines
1005 B

# This file is part of MXE.
# See index.html for further information.
PKG := fontconfig
$(PKG)_IGNORE :=
$(PKG)_CHECKSUM := 39aeb881c422fa0f0cd5e044ed05c94835fd89c4
$(PKG)_SUBDIR := fontconfig-$($(PKG)_VERSION)
$(PKG)_FILE := fontconfig-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL := http://fontconfig.org/release/$($(PKG)_FILE)
$(PKG)_DEPS := gcc freetype expat
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://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 \
--host='$(TARGET)' \
--build="`config.guess`" \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
--with-arch='$(TARGET)' \
--with-expat='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef