diff options
Diffstat (limited to 'package/ninja')
-rw-r--r-- | package/ninja/Makefile | 36 |
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 |