python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / package / ninja / ninja.mk
blob3cfe4faf2b5f44fef4ce8c21327d2b380b98485d
1 ################################################################################
3 # ninja
5 ################################################################################
7 NINJA_VERSION = v1.7.1
8 NINJA_SITE = $(call github,ninja-build,ninja,$(NINJA_VERSION))
9 NINJA_LICENSE = Apache-2.0
10 NINJA_LICENSE_FILES = COPYING
12 HOST_NINJA_DEPENDENCIES = $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python)
14 define HOST_NINJA_BUILD_CMDS
15 (cd $(@D); ./configure.py --bootstrap)
16 endef
18 define HOST_NINJA_INSTALL_CMDS
19 $(INSTALL) -m 0755 -D $(@D)/ninja $(HOST_DIR)/usr/bin/ninja
20 endef
22 $(eval $(host-generic-package))