Files
Arch-R/packages/python/devel/ninja/package.mk
2018-07-18 20:45:17 +02:00

24 lines
667 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
PKG_NAME="ninja"
PKG_VERSION="1.8.2"
PKG_SHA256="86b8700c3d0880c2b44c2ff67ce42774aaf8c28cbf57725cb881569288c1c6f4"
PKG_ARCH="any"
PKG_LICENSE="Apache"
PKG_SITE="http://martine.github.io/ninja/"
PKG_URL="https://github.com/ninja-build/ninja/archive/v$PKG_VERSION.tar.gz"
PKG_DEPENDS_HOST="Python2:host"
PKG_SECTION="devel"
PKG_SHORTDESC="Small build system with a focus on speed"
PKG_LONGDESC="Small build system with a focus on speed"
PKG_TOOLCHAIN="manual"
make_host() {
python2 configure.py --bootstrap
}
makeinstall_host() {
cp ninja $TOOLCHAIN/bin/
}