Mercurial > mxe-octave
changeset 2849:1f72bc5b8701
add package harfbuzz
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Mon, 12 Nov 2012 23:07:23 +0100 |
parents | 7836cad5a075 |
children | 00ff585780db |
files | index.html src/harfbuzz.mk |
diffstat | 2 files changed, 32 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/index.html Mon Nov 12 21:57:55 2012 +0100 +++ b/index.html Mon Nov 12 23:07:23 2012 +0100 @@ -1264,6 +1264,11 @@ <td id="guile-website"><a href="http://www.gnu.org/software/guile/">GNU Guile</a></td> </tr> <tr> + <td id="harfbuzz-package">harfbuzz</td> + <td id="harfbuzz-version">0.9.5</td> + <td id="harfbuzz-website"><a href="http://harfbuzz.sourceforge.net/">HarfBuzz</a></td> + </tr> + <tr> <td id="hunspell-package">hunspell</td> <td id="hunspell-version">1.3.2</td> <td id="hunspell-website"><a href="http://hunspell.sourceforge.net/">Hunspell</a></td>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/harfbuzz.mk Mon Nov 12 23:07:23 2012 +0100 @@ -0,0 +1,27 @@ +# 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