Skip to content

Commit

Permalink
add ninja package
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninoh-FOX committed Jun 25, 2021
1 parent 7a6955b commit 56f20ff
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions package/ninja/ninja.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
################################################################################
#
# ninja
#
################################################################################

NINJA_VERSION = 1.9.0
NINJA_SITE = $(call github,ninja-build,ninja,v$(NINJA_VERSION))
NINJA_LICENSE = Apache-2.0
NINJA_LICENSE_FILES = COPYING
NINJA_CONF_OPT = --bootstrap

define HOST_NINJA_INSTALL_CMDS
cd $(@D); ./configure.py $(NINJA_CONF_OPT)
$(INSTALL) -m 0755 -D $(@D)/ninja $(HOST_DIR)/usr/bin/ninja
endef

$(eval $(generic-package))
$(eval $(host-generic-package))

0 comments on commit 56f20ff

Please sign in to comment.