add package harfbuzz

This commit is contained in:
Mark Brand 2012-11-12 23:07:23 +01:00
parent 1cee5a1d98
commit 14d9b771c3
2 changed files with 32 additions and 0 deletions

View File

@ -1263,6 +1263,11 @@ USE_OSGPLUGIN(<plugin2>)
<td id="guile-version">1.8.7</td>
<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>

27
src/harfbuzz.mk Normal file
View File

@ -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