Mercurial > mxe-octave
annotate src/harfbuzz.mk @ 3919:282ca0892ed0
of-ga: add to mxe
* src/of-ga.mk: new file
* build_packages.m: add install of ga
* index.html: add of-ga
* Makefile.in: add ga
* dist-files.mk: add of-ga.mk
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 26 Apr 2015 09:30:29 -0400 |
parents | 13be64f9f16d |
children | 7e8c6bb47c21 |
rev | line source |
---|---|
2849 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := harfbuzz | |
5 $(PKG)_IGNORE := | |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3171
diff
changeset
|
6 $(PKG)_VERSION := 0.9.19 |
3171
4a05b335972b
[MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
7 $(PKG)_CHECKSUM := 5603e084fbf8be1b93722c8e2694643361c489e4 |
2849 | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 | |
2854 | 10 $(PKG)_URL := http://www.freedesktop.org/software/$(PKG)/release/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
11 $(PKG)_DEPS := glib cairo freetype |
2849 | 12 |
13 define $(PKG)_UPDATE | |
14 $(WGET) -q -O- 'http://cgit.freedesktop.org/harfbuzz/refs/tags' | \ | |
15 $(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \ | |
16 grep -v '^1\.[01234]\.' | \ | |
17 head -1 | |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
21 cd '$(1)' && ./configure \ | |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
23 --prefix='$(HOST_PREFIX)' \ |
3171
4a05b335972b
[MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
24 $(ENABLE_SHARED_OR_STATIC) \ |
4a05b335972b
[MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
25 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
4a05b335972b
[MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
26 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ |
4a05b335972b
[MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
27 && $(CONFIGURE_POST_HOOK) |
4a05b335972b
[MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
28 $(MAKE) -C '$(1)' -j '$(JOBS)' |
4a05b335972b
[MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
29 $(MAKE) -C '$(1)' -j 1 install |
2849 | 30 endef |