Mercurial > mxe-octave
annotate src/xft.mk @ 5531:eae508c12529
Add build rule for build-octave (bug #49503).
* src/build-octave.mk: Add new build rule for build-octave which can be used for
cross-building binary packages that depend on Octave as a build tool.
* dist-files.mk: Add new file to list.
* index.html: Add new package to list.
* src/of-communications.mk, src/of-image.mk, src/of-mapping.mk,
src/of-optiminterp.mk, src/of-sparsersb.mk, src/of-statistics.mk,
src/of-windows.mk: Add optional dependency on build-octave.
* configure.ac: Add new configure switch "--disable-system-octave" that is
needed to build the build-octave package.
* Makefile.in: Add variable "USE_SYSTEM_OCTAVE". Exclude build-octave from the
default build tools and build it only if a package explicitly depends on it.
Display warning about missing native Octave version only if necessary.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 08 Sep 2020 23:04:38 +0200 |
parents | e2349691d6ae |
children |
rev | line source |
---|---|
3743 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := xft | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 2.3.2 | |
4519
58de4f56c797
update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents:
3743
diff
changeset
|
7 $(PKG)_CHECKSUM := e025d790a7b6c4d283a78d8df06615cb10278e2d |
3743 | 8 $(PKG)_SUBDIR := libXft-$($(PKG)_VERSION) |
4519
58de4f56c797
update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents:
3743
diff
changeset
|
9 $(PKG)_FILE := libXft-$($(PKG)_VERSION).tar.bz2 |
58de4f56c797
update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents:
3743
diff
changeset
|
10 $(PKG)_URL := http://www.x.org/archive/individual/lib/$($(PKG)_FILE) |
4803
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4519
diff
changeset
|
11 ifeq ($(USE_SYSTEM_FONTCONFIG),no) |
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4519
diff
changeset
|
12 $(PKG)_FONTCONFIG := fontconfig |
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4519
diff
changeset
|
13 endif |
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4519
diff
changeset
|
14 $(PKG)_DEPS := kbproto xrender $($(PKG)_FONTCONFIG) freetype |
3743 | 15 |
16 ifeq ($(MXE_WINDOWS_BUILD),yes) | |
17 define $(PKG)_BUILD | |
18 endef | |
19 else | |
20 define $(PKG)_BUILD | |
21 mkdir '$(1)/.build' | |
22 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ | |
23 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
25 --prefix='$(HOST_PREFIX)' \ | |
26 && $(CONFIGURE_POST_HOOK) | |
27 | |
28 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' | |
29 endef | |
30 endif |