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"
|
2025-07-11 08:46:07 +00:00
|
|
|
PKG_VERSION="1.13.1"
|
|
|
|
|
PKG_SHA256="f0055ad0369bf2e372955ba55128d000cfcc21777057806015b45e4accbebf23"
|
2016-04-06 11:59:47 -07:00
|
|
|
PKG_LICENSE="Apache"
|
2020-12-02 08:19:24 +00:00
|
|
|
PKG_SITE="https://ninja-build.org/"
|
2021-01-19 19:34:13 +00:00
|
|
|
PKG_URL="https://github.com/ninja-build/ninja/archive/v${PKG_VERSION}.tar.gz"
|
2024-08-22 21:09:42 +02:00
|
|
|
PKG_DEPENDS_HOST="Python3:host"
|
2016-04-06 11:59:47 -07:00
|
|
|
PKG_LONGDESC="Small build system with a focus on speed"
|
2024-08-22 21:09:42 +02:00
|
|
|
PKG_TOOLCHAIN="manual"
|
|
|
|
|
|
|
|
|
|
make_host() {
|
|
|
|
|
python3 ../configure.py --bootstrap
|
|
|
|
|
}
|
2016-04-06 11:59:47 -07:00
|
|
|
|
|
|
|
|
makeinstall_host() {
|
2021-01-19 19:34:13 +00:00
|
|
|
mkdir -p ${TOOLCHAIN}/bin
|
|
|
|
|
cp ninja ${TOOLCHAIN}/bin
|
2016-04-06 11:59:47 -07:00
|
|
|
}
|