view src/build-markupsafe.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
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := build-markupsafe
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1.0
$(PKG)_CHECKSUM := 9072e80a7faa0f49805737a48f3d871eb1c48728
$(PKG)_SUBDIR   := MarkupSafe-$($(PKG)_VERSION)
$(PKG)_FILE     := MarkupSafe-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := https://pypi.python.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/$($(PKG)_FILE)
$(PKG)_DEPS     := build-python3

define $(PKG)_UPDATE
    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
    echo $($(PKG)_VERSION)
endef

define $(PKG)_BUILD
    cd '$(1)' && $(PYTHON3) setup.py install --prefix='$(BUILD_TOOLS_PREFIX)'
endef