ninja: use bootstrap build option

This commit is contained in:
Jernej Skrabec 2024-08-22 21:09:42 +02:00
parent d8ce2ffcef
commit bf32e418ef

View File

@ -8,9 +8,13 @@ PKG_SHA256="821bdff48a3f683bc4bb3b6f0b5fe7b2d647cf65d52aeb63328c91a6c6df285a"
PKG_LICENSE="Apache"
PKG_SITE="https://ninja-build.org/"
PKG_URL="https://github.com/ninja-build/ninja/archive/v${PKG_VERSION}.tar.gz"
PKG_DEPENDS_HOST="Python3:host googletest:host"
PKG_DEPENDS_HOST="Python3:host"
PKG_LONGDESC="Small build system with a focus on speed"
PKG_TOOLCHAIN="cmake-make"
PKG_TOOLCHAIN="manual"
make_host() {
python3 ../configure.py --bootstrap
}
makeinstall_host() {
mkdir -p ${TOOLCHAIN}/bin