mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 14:03:29 +08:00
ninja: new package
This new package provides the host variant of Ninja, a small build system with a focus on speed. [Peter: use install -D] Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
330ac8e6d2
commit
9b63a0a021
2
package/ninja/ninja.hash
Normal file
2
package/ninja/ninja.hash
Normal file
@ -0,0 +1,2 @@
|
||||
# Locally generated
|
||||
sha256 51581de53cf4705b89eb6b14a85baa73288ad08bff256e7d30d529155813be19 ninja-v1.7.1.tar.gz
|
22
package/ninja/ninja.mk
Normal file
22
package/ninja/ninja.mk
Normal file
@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# ninja
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NINJA_VERSION = v1.7.1
|
||||
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)/usr/bin/ninja
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
Loading…
Reference in New Issue
Block a user