Mercurial > mxe-octave
annotate src/harfbuzz.mk @ 2855:47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 15 Nov 2012 16:11:45 -0500 |
parents | 54522aaf400c |
children | 100e618349f7 |
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 := | |
2854 | 6 $(PKG)_CHECKSUM := c99ed7881bbeadbb9fbeb544b28d2174ddac5910 |
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) |
2849 | 10 $(PKG)_DEPS := gcc glib cairo freetype |
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 \ | |
21 --host='$(TARGET)' \ | |
22 --build="`config.guess`" \ | |
23 --prefix='$(PREFIX)/$(TARGET)' \ | |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2854
diff
changeset
|
24 $(ENABLE_SHARED_OR_STATIC) |
2849 | 25 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
26 endef |