kumquat-buildroot/package/ninja/ninja.mk
Bernd Kuhls 98fa5ecc0c package/ninja: bump version to 1.8.2
Changelog:
https://groups.google.com/forum/#!topic/ninja-build/Xt3NdAA0KQU/discussion

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-09-22 23:26:11 +02:00

23 lines
603 B
Makefile

################################################################################
#
# ninja
#
################################################################################
NINJA_VERSION = v1.8.2
NINJA_SITE = $(call github,ninja-build,ninja,$(NINJA_VERSION))
NINJA_LICENSE = Apache-2.0
NINJA_LICENSE_FILES = COPYING
HOST_NINJA_DEPENDENCIES = $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python)
define HOST_NINJA_BUILD_CMDS
(cd $(@D); ./configure.py --bootstrap)
endef
define HOST_NINJA_INSTALL_CMDS
$(INSTALL) -m 0755 -D $(@D)/ninja $(HOST_DIR)/bin/ninja
endef
$(eval $(host-generic-package))