Initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
sed -i '/int Guess/a \
|
||||
int j = 0;\
|
||||
char* jobs = getenv( "NINJAJOBS" );\
|
||||
if ( jobs != NULL ) j = atoi( jobs );\
|
||||
if ( j > 0 ) return j;\
|
||||
' src/ninja.cc
|
||||
python3 configure.py --bootstrap --verbose
|
||||
mkdir -p $DESTDIR/usr/bin
|
||||
install -vm755 ninja $DESTDIR/usr/bin/
|
||||
install -vDm644 misc/bash-completion $DESTDIR/usr/share/bash-completion/completions/ninja
|
||||
install -vDm644 misc/zsh-completion $DESTDIR/usr/share/zsh/site-functions/_ninja
|
||||
@@ -0,0 +1,21 @@
|
||||
[build]
|
||||
type = "custom"
|
||||
|
||||
[dependencies]
|
||||
build = ["python"]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"libunwind"
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "small build system with a focus on speed"
|
||||
homepage = "https://ninja-build.org/"
|
||||
license = "Apache-2.0"
|
||||
name = "ninja"
|
||||
version = "1.13.2"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "974d6b2f4eeefa25625d34da3cb36bdcebe7fbce40f4c16ac0835fd1c0cbae17"
|
||||
url = "https://github.com/ninja-build/ninja/archive/v$version/ninja-$version.tar.gz"
|
||||
Reference in New Issue
Block a user