view src/build-ninja.mk @ 5532:90e3f78b2304

* src/librsb.mk: update to v1.2.0.9
author John Donoghue <john.donoghue@ieee.org>
date Fri, 11 Sep 2020 18:56:29 -0400
parents 455bb9c9a7eb
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