view 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
line wrap: on
line source

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

PKG             := build-mako
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1.0.7
$(PKG)_CHECKSUM := bf0c1f4cdfca4dd37bc0c9f83e984a0558268b42
$(PKG)_SUBDIR   := Mako-$($(PKG)_VERSION)
$(PKG)_FILE     := Mako-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := https://pypi.python.org/packages/eb/f3/67579bb486517c0d49547f9697e36582cd19dafb5df9e687ed8e22de57fa/$($(PKG)_FILE)
$(PKG)_DEPS     := build-python3 build-markupsafe

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