Mercurial > mxe-octave
view src/harfbuzz.mk @ 2849:1f72bc5b8701
add package harfbuzz
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Mon, 12 Nov 2012 23:07:23 +0100 |
parents | |
children | 54522aaf400c |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := harfbuzz $(PKG)_IGNORE := $(PKG)_CHECKSUM := cf2141c89a293995a0ae89e379884d2a6e89b963 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://www.freedesktop.org/software/$(PKG)/release/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := gcc glib cairo freetype define $(PKG)_UPDATE $(WGET) -q -O- 'http://cgit.freedesktop.org/harfbuzz/refs/tags' | \ $(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \ grep -v '^1\.[01234]\.' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ --host='$(TARGET)' \ --build="`config.guess`" \ --prefix='$(PREFIX)/$(TARGET)' \ --disable-shared \ --enable-static $(MAKE) -C '$(1)' -j '$(JOBS)' install endef