annotate src/build-mako.mk @ 5540:13628d1d41e2

Make more build tools optional. * Makefile.in: Add build tools that are only needed for mesa to optional build tools (build-mako, build-markupsafe, build-meson, build-ninja, build-python3). That way they are only built if mesa is built. Same for build-python, build-scons, and build-setuptools which are only needed when building nsis. * src/mesa.mk: Add build-ninja to dependencies. * src/build-mako.mk, src/build-markupsafe.mk: Remove build-setuptools from dependencies. * src/nsis.mk: Add build-python and build-setuptools to dependencies.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 19 Sep 2020 17:35:15 +0200
parents be0a7ce498e6
children f062bdb4f0a3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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-mako
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_VERSION := 1.0.7
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := bf0c1f4cdfca4dd37bc0c9f83e984a0558268b42
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := Mako-$($(PKG)_VERSION)
67c0ec94a9eb New packages: build-setuptools, build-markupsafe, and build-mako
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := Mako-$($(PKG)_VERSION).tar.gz
4530
be0b035366c1 * src/build-mako.mk: use https for url
John Donoghue <john.donoghue@ieee.org>
parents: 4480
diff changeset
10 $(PKG)_URL := https://pypi.python.org/packages/eb/f3/67579bb486517c0d49547f9697e36582cd19dafb5df9e687ed8e22de57fa/$($(PKG)_FILE)
5540
13628d1d41e2 Make more build tools optional.
Markus Mützel <markus.muetzel@gmx.de>
parents: 5499
diff changeset
11 $(PKG)_DEPS := build-python3 build-markupsafe
4480
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
5499
be0a7ce498e6 Update mesa to version 20.0.8 (bug #58689).
Markus Mützel <markus.muetzel@gmx.de>
parents: 5495
diff changeset
19 cd '$(1)' && $(PYTHON3) 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