2014-08-05 16:56:01 +02:00
|
|
|
# Description: Small build system with a focus on speed
|
2017-05-03 17:07:55 +02:00
|
|
|
# URL: https://ninja-build.org/
|
2017-09-22 18:38:17 +02:00
|
|
|
# Maintainer: Fredrik Rinnestam, fredrik at crux dot guru
|
2019-12-14 17:09:38 +01:00
|
|
|
# Depends on: python3
|
2014-08-05 16:56:01 +02:00
|
|
|
|
|
|
|
name=ninja
|
2020-01-29 18:28:59 +01:00
|
|
|
version=1.10.0
|
|
|
|
release=1
|
2017-09-07 12:57:02 +10:00
|
|
|
source=(https://github.com/$name-build/$name/archive/v$version/$name-v$version.tar.gz)
|
2014-08-05 16:56:01 +02:00
|
|
|
|
|
|
|
build() {
|
2017-09-22 18:38:17 +02:00
|
|
|
cd $name-$version
|
2017-09-07 12:57:02 +10:00
|
|
|
|
2019-12-14 17:09:38 +01:00
|
|
|
/usr/bin/python3 configure.py --bootstrap
|
2017-09-22 18:38:17 +02:00
|
|
|
install -D -m 0755 $name $PKG/usr/bin/$name
|
2014-08-05 16:56:01 +02:00
|
|
|
}
|