|
root / devel / ninja
ninja Plain Text 39 lines 847 B
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/zsh
# Build script for ninja

set -e
cd "$SRCDIR"

cmake -B build \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=$PREFIX \
    -DCMAKE_INSTALL_RPATH=$PREFIX/lib \
    -DBUILD_TESTING=OFF

cmake --build build -j${JOBS:-1}
cmake --install build
# Ninja - Small build system with a focus on speed
# https://ninja-build.org/

[package]
name = "ninja"
version = "1.13.2"
release = 1
description = "Small build system with a focus on speed"
url = "https://ninja-build.org/"
license = "Apache-2.0"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = []
build = []

[[source]]
file = "ninja-1.13.2.tar.gz"
urls = ["https://github.com/ninja-build/ninja/archive/refs/tags/v1.13.2.tar.gz"]
checksum = "974d6b2f4eeefa25625d34da3cb36bdcebe7fbce40f4c16ac0835fd1c0cbae17"

[build]
parallel = true