mxe/src/harfbuzz.mk

26 lines
832 B
Makefile
Raw Normal View History

2012-11-12 22:07:23 +00:00
# This file is part of MXE.
# See index.html for further information.
PKG := harfbuzz
$(PKG)_IGNORE :=
2015-11-27 12:54:05 +00:00
$(PKG)_VERSION := 1.1.2
$(PKG)_CHECKSUM := 4a2c5790bd3db7c3ca8c02e4858f2fd592df7932c1d2fa9f6b99acbce0f8461f
2012-11-12 22:07:23 +00:00
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
2012-11-14 09:53:53 +00:00
$(PKG)_URL := http://www.freedesktop.org/software/$(PKG)/release/$($(PKG)_FILE)
2015-09-23 08:41:16 +01:00
$(PKG)_DEPS := gcc cairo freetype-bootstrap glib icu4c
2012-11-12 22:07:23 +00:00
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://cgit.freedesktop.org/harfbuzz/refs/tags' | \
2015-06-20 20:53:31 +01:00
$(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9.]*\\)'.*,\\1,p" | \
$(SORT) -V | \
tail -1
2012-11-12 22:07:23 +00:00
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
2013-12-15 13:53:10 +00:00
$(MXE_CONFIGURE_OPTS) \
LIBS='-lstdc++'
$(MAKE) -C '$(1)' -j '$(JOBS)' install
2012-11-12 22:07:23 +00:00
endef