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.
|
2009-02-28 21:44:12 +00:00
|
|
|
|
2009-04-05 13:00:17 +01:00
|
|
|
PKG := pango
|
2009-09-20 13:36:46 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2013-11-12 06:32:38 +00:00
|
|
|
$(PKG)_VERSION := 1.36.1
|
|
|
|
$(PKG)_CHECKSUM := 8800fc023f0be07190b2a6708af4f064568a4710
|
2009-04-05 13:00:17 +01:00
|
|
|
$(PKG)_SUBDIR := pango-$($(PKG)_VERSION)
|
2012-05-02 23:02:36 +01:00
|
|
|
$(PKG)_FILE := pango-$($(PKG)_VERSION).tar.xz
|
2009-04-05 13:00:17 +01:00
|
|
|
$(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/pango/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
|
2012-11-12 22:08:20 +00:00
|
|
|
$(PKG)_DEPS := gcc fontconfig freetype cairo glib harfbuzz
|
2009-02-28 21:44:12 +00:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2012-05-08 16:16:05 +01:00
|
|
|
$(WGET) -q -O- 'http://git.gnome.org/browse/pango/refs/tags' | \
|
2009-10-21 12:24:44 +01:00
|
|
|
grep '<a href=' | \
|
|
|
|
$(SED) -n "s,.*<a href='[^']*/tag/?id=\\([0-9][^']*\\)'.*,\\1,p" | \
|
2009-02-28 21:44:12 +00:00
|
|
|
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
|
2009-02-28 21:44:12 +00:00
|
|
|
cd '$(1)' && ./configure \
|
2014-03-08 15:32:43 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
2009-02-28 21:44:12 +00:00
|
|
|
--enable-explicit-deps \
|
|
|
|
--with-included-modules \
|
2009-10-19 09:29:40 +01:00
|
|
|
--without-dynamic-modules \
|
2013-05-18 19:13:12 +01:00
|
|
|
CXX='$(TARGET)-g++'
|
2009-02-28 21:44:12 +00:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
|
|
|
endef
|