Mercurial > mxe-octave
view src/build-ninja.mk @ 5497:455bb9c9a7eb
Add build rule for ninja (bug #58689).
* src/build-ninja.mk: New file to build ninja.
* dist-files.mk: Add new file to list.
* index.html: Add new package to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 02 Jul 2020 17:31:59 +0200 |
parents | |
children | e11a949724ef |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := build-ninja $(PKG)_IGNORE := $(PKG)_VERSION := 1.10.0 $(PKG)_CHECKSUM := 7134bca607e17238d272e281ce1cae05d04be970 $(PKG)_SUBDIR := ninja-$($(PKG)_VERSION) $(PKG)_FILE := ninja-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://codeload.github.com/ninja-build/ninja/tar.gz/v$($(PKG)_VERSION) $(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) configure.py --bootstrap $(INSTALL) -d '$(3)$(BUILD_TOOLS_PREFIX)/bin' $(INSTALL) -m755 '$(1)/ninja' '$(3)$(BUILD_TOOLS_PREFIX)/bin'; endef