diff options
author | Mark Brand <mabrand@mabrand.nl> | 2012-11-12 22:07:23 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2012-11-12 22:13:06 (GMT) |
commit | 14d9b771c3cfa71a7457b0170070e77dd781106f (patch) | |
tree | bdd3c191c3cff793d0179691c37a19bc984a5c1d | |
parent | 1cee5a1d9800ce04fea7007c6bbd4b3d30a6e7e1 (diff) | |
download | mxe-14d9b771c3cfa71a7457b0170070e77dd781106f.zip mxe-14d9b771c3cfa71a7457b0170070e77dd781106f.tar.gz mxe-14d9b771c3cfa71a7457b0170070e77dd781106f.tar.bz2 |
add package harfbuzz
-rw-r--r-- | index.html | 5 | ||||
-rw-r--r-- | src/harfbuzz.mk | 27 |
2 files changed, 32 insertions, 0 deletions
@@ -1264,6 +1264,11 @@ USE_OSGPLUGIN(<plugin2>) <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> diff --git a/src/harfbuzz.mk b/src/harfbuzz.mk new file mode 100644 index 0000000..0a322f5 --- /dev/null +++ b/src/harfbuzz.mk @@ -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 |