Mercurial > mxe-octave
annotate src/harfbuzz.mk @ 3319:2636b3458f4d
* src/msvc-octave-1.patch: Update to octave 3.7.7.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Tue, 12 Nov 2013 20:54:29 -0500 |
parents | 4a05b335972b |
children | 13be64f9f16d |
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 := | |
3171
4a05b335972b
[MSVC] enable harfbuzz compilation (and bump version to 0.9.19)
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
6 $(PKG)_CHECKSUM := 5603e084fbf8be1b93722c8e2694643361c489e4 |
2849 | 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 | |
2854 | 9 $(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
|
10 $(PKG)_DEPS := glib cairo freetype |
2849 | 11 |
12 define $(PKG)_UPDATE | |
13 $(WGET) -q -O- 'http://cgit.freedesktop.org/harfbuzz/refs/tags' | \ | |
14 $(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \ | |
15 grep -v '^1\.[01234]\.' | \ | |
16 head -1 | |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
21 $(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
|
22 --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
|
23 $(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
|
24 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
|
25 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
|
26 && $(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
|
27 $(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
|
28 $(MAKE) -C '$(1)' -j 1 install |
2849 | 29 endef |