mxe/src/pango.mk

31 lines
1.0 KiB
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.
PKG := pango
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.37.4
$(PKG)_CHECKSUM := a37530336818c214f54bed2351bdd4ad0acebcbe
$(PKG)_SUBDIR := pango-$($(PKG)_VERSION)
$(PKG)_FILE := pango-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/pango/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
2015-09-23 08:41:16 +01:00
$(PKG)_DEPS := gcc cairo fontconfig freetype glib harfbuzz
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://git.gnome.org/browse/pango/refs/tags' | \
grep '<a href=' | \
$(SED) -n "s,.*<a href='[^']*/tag/?id=\\([0-9][^']*\\)'.*,\\1,p" | \
head -1
endef
define $(PKG)_BUILD
2012-06-18 21:05:30 +01:00
rm '$(1)'/docs/Makefile.am
2012-06-15 15:01:45 +01:00
cd '$(1)' && NOCONFIGURE=1 ./autogen.sh
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--enable-explicit-deps \
--with-included-modules \
--without-dynamic-modules \
CXX='$(TARGET)-g++'
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef