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
|
2014-08-05 16:56:01 +02:00
|
|
|
# Depends on: python
|
|
|
|
|
|
|
|
name=ninja
|
2017-09-22 18:38:17 +02:00
|
|
|
version=1.8.2
|
2014-08-05 16:56:01 +02:00
|
|
|
release=1
|
2017-09-07 04:57:02 +02: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 04:57:02 +02:00
|
|
|
|
2017-09-22 18:38:17 +02:00
|
|
|
/usr/bin/python configure.py --bootstrap
|
|
|
|
install -D -m 0755 $name $PKG/usr/bin/$name
|
2014-08-05 16:56:01 +02:00
|
|
|
}
|