Mercurial > mxe-octave
annotate src/build-setuptools.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 | fb50ae69121c |
children | 44be3d301611 |
rev | line source |
---|---|
4480
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 PKG := build-setuptools |
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
5495
fb50ae69121c
Add build rule for python3 (bug #58689).
Markus Mützel <markus.muetzel@gmx.de>
parents:
4480
diff
changeset
|
6 $(PKG)_VERSION := 44.1.1 |
fb50ae69121c
Add build rule for python3 (bug #58689).
Markus Mützel <markus.muetzel@gmx.de>
parents:
4480
diff
changeset
|
7 $(PKG)_CHECKSUM := d1ba6f62520e09956bc3163291a26b185fdff2c6 |
4480
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := setuptools-$($(PKG)_VERSION) |
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 $(PKG)_FILE := setuptools-$($(PKG)_VERSION).zip |
5495
fb50ae69121c
Add build rule for python3 (bug #58689).
Markus Mützel <markus.muetzel@gmx.de>
parents:
4480
diff
changeset
|
10 $(PKG)_URL := https://files.pythonhosted.org/packages/b2/40/4e00501c204b457f10fe410da0c97537214b2265247bc9a5bc6edd55b9e4/$($(PKG)_FILE) |
4480
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 $(PKG)_DEPS := build-python |
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 |
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 echo $($(PKG)_VERSION) |
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 endef |
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 |
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 define $(PKG)_BUILD |
5495
fb50ae69121c
Add build rule for python3 (bug #58689).
Markus Mützel <markus.muetzel@gmx.de>
parents:
4480
diff
changeset
|
19 cd '$(1)' && python2 setup.py install --prefix='$(BUILD_TOOLS_PREFIX)' |
4480
67c0ec94a9eb
New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 endef |