smlinux/base/ninja/ninja.SMBuild
PktSurf 1ddfe9abba * Fixed indentation in base/docbook build file
* Replaced patch command with applypatch function in multiple build files in base, xorg, gtk, extra and xfce sections
2022-02-23 23:21:55 +05:30

32 lines
928 B
Text
Executable file

app=ninja
version=1.9.0
build=1sml
homepage='https://github.com/ninja-build/ninja'
download='https://github.com/ninja-build/ninja/archive/refs/tags/v1.9.0.tar.gz'
desc="small build system with a focus on speed"
requires="gcc-libs python3"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/posix-fix.patch
python ./configure.py --bootstrap
install -Dm 755 ninja $pkg/bin/ninja
install -Dm 644 misc/bash-completion $pkg/share/bash-completion/completions/ninja
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
0c8e877efc4cf7fd474f90fc31454f8bb1dcf483b0f1a6132678eeaa413a9e1c5c53b37705aada999efacc83a31afb75df0b509d87a41c4fe736c2ac6ed87251 ninja-1.9.0.tar.lz
78b29a57ec3c4feedf2bcfe9370b30cecd5302f29e8e14c6a3bc01becb555be6330aafba12f9225625af0644ea1f534feba8396d32bb944253a9daa5dd0e98d8 posix-fix.patch
"