-> base/gdb,gdbm,glib,iso-codes,libgpg-error, -> libidn2,libqalculate,popt,procps-ng,sudo,sysstat,texinfo,xz Made fixes to a bunch of base build files to put stuff in /usr
35 lines
997 B
Text
Executable file
35 lines
997 B
Text
Executable file
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
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/v$version.tar.gz"
|
|
desc="small build system with a focus on speed"
|
|
requires="gcc-libs python3"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
applypatch $srcdir/posix-fix.patch
|
|
}
|
|
|
|
build() {
|
|
python ./configure.py --bootstrap
|
|
|
|
install -Dm 755 ninja $pkg/bin/ninja
|
|
install -Dm 644 misc/bash-completion $pkg/usr/share/bash-completion/completions/ninja
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
0c8e877efc4cf7fd474f90fc31454f8bb1dcf483b0f1a6132678eeaa413a9e1c5c53b37705aada999efacc83a31afb75df0b509d87a41c4fe736c2ac6ed87251 ninja-1.9.0.tar.lz
|
|
78b29a57ec3c4feedf2bcfe9370b30cecd5302f29e8e14c6a3bc01becb555be6330aafba12f9225625af0644ea1f534feba8396d32bb944253a9daa5dd0e98d8 posix-fix.patch
|
|
"
|