view src/build-mako.mk @ 6203:8b23f76955c6 release

ICU4C: Use GCC for native version even if clang is installed. * src/icu4c.mk: ICU4C seems to prefer clang for building the native version if it is installed on the build system. But it looks like that doesn't work for some reason. When cross-compiling, use GCC for the native version instead.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 05 May 2022 11:22:40 +0200
parents f062bdb4f0a3
children 8a3138ab3c9b
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-python build-markupsafe

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

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