Mercurial > mxe-octave
annotate src/xext.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 | 32fbb60561a6 |
children |
rev | line source |
---|---|
3743 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := xext | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 1.3.3 | |
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 := 43abab84101159563e68d9923353cc0b3af44f07 |
3743 | 8 $(PKG)_SUBDIR := libXext-$($(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 := libXext-$($(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) |
3743 | 11 $(PKG)_DEPS := xextproto xproto |
12 | |
5021 | 13 define $(PKG)_UPDATE |
14 $(WGET) -q -O- 'https://www.x.org/archive/individual/lib/' | \ | |
15 $(SED) -n 's,.*<a href="libXext-\([0-9\.]*\)\.tar.gz".*,\1,p' | \ | |
16 $(SORT) -V | | |
17 tail -1 | |
18 endef | |
19 | |
3743 | 20 ifeq ($(MXE_WINDOWS_BUILD),yes) |
21 define $(PKG)_BUILD | |
22 endef | |
23 else | |
24 define $(PKG)_BUILD | |
25 mkdir '$(1)/.build' | |
26 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ | |
27 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
28 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
29 --prefix='$(HOST_PREFIX)' \ | |
30 && $(CONFIGURE_POST_HOOK) | |
31 | |
32 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' | |
33 endef | |
34 endif |