2018-07-16 20:45:36 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
2019-02-02 19:03:22 +00:00
|
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
2016-04-06 11:59:47 -07:00
|
|
|
|
|
|
|
|
PKG_NAME="ninja"
|
2019-02-02 19:03:22 +00:00
|
|
|
PKG_VERSION="1.9.0"
|
|
|
|
|
PKG_SHA256="5d7ec75828f8d3fd1a0c2f31b5b0cea780cdfe1031359228c428c1a48bfcd5b9"
|
2016-04-06 11:59:47 -07:00
|
|
|
PKG_LICENSE="Apache"
|
|
|
|
|
PKG_SITE="http://martine.github.io/ninja/"
|
|
|
|
|
PKG_URL="https://github.com/ninja-build/ninja/archive/v$PKG_VERSION.tar.gz"
|
2019-10-24 22:51:28 +01:00
|
|
|
PKG_DEPENDS_HOST="Python3:host"
|
2016-04-06 11:59:47 -07:00
|
|
|
PKG_LONGDESC="Small build system with a focus on speed"
|
2017-10-27 13:11:34 +02:00
|
|
|
PKG_TOOLCHAIN="manual"
|
2016-04-06 11:59:47 -07:00
|
|
|
|
|
|
|
|
make_host() {
|
2019-10-24 22:51:28 +01:00
|
|
|
python3 configure.py --bootstrap
|
2016-04-06 11:59:47 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
makeinstall_host() {
|
2017-02-17 06:40:16 +00:00
|
|
|
cp ninja $TOOLCHAIN/bin/
|
2016-04-06 11:59:47 -07:00
|
|
|
}
|