summaryrefslogtreecommitdiff
path: root/package/ninja
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-12-25 08:49:22 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-12-25 08:53:39 +0100
commit480c1d4b13a98f2de6b4013cfc460a19fd7b1d3e (patch)
treeb849c78786c83ec90a5729c2812f5426d55f842d /package/ninja
parent15b5d38385d8261339eed833b85a339505f4105c (diff)
add meson/ninja host tools
Diffstat (limited to 'package/ninja')
-rw-r--r--package/ninja/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/ninja/Makefile b/package/ninja/Makefile
new file mode 100644
index 000000000..9f9f0ad12
--- /dev/null
+++ b/package/ninja/Makefile
@@ -0,0 +1,36 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= ninja
+PKG_VERSION:= 1.8.2
+PKG_RELEASE:= 1
+PKG_HASH:= 86b8700c3d0880c2b44c2ff67ce42774aaf8c28cbf57725cb881569288c1c6f4
+PKG_DESCR:= build utility
+PKG_SECTION:= dev/tools
+PKG_URL:= http://www.ninja-build.org/
+PKG_SITES:= https://github.com/ninja-build/ninja/archive/
+
+DISTFILES:= v${PKG_VERSION}.tar.gz
+
+PKG_CFLINE_NINJA:= depends on ADK_HOST_ONLY
+
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,NINJA,ninja,$(PKG_VERSION)-${PKG_RELEASE}))
+
+HOST_STYLE:= manual
+
+host-configure:
+ (cd $(WRKBUILD); ./configure.py --bootstrap)
+
+host-build:
+
+ninja-hostinstall:
+ $(INSTALL_BIN) $(WRKBUILD)/ninja \
+ $(STAGING_HOST_DIR)/usr/bin
+
+include ${ADK_TOPDIR}/mk/host-bottom.mk
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk