wok-next view ninja/receipt @ rev 21670

updated gaupol (1.4.1 -> 1.8)
author Hans-G?nter Theisgen
date Sat Jun 27 21:30:44 2020 +0100 (2020-06-27)
parents
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ninja"
4 VERSION="1.8.2"
5 CATEGORY="development"
6 SHORT_DESC="Small build system with a focus on speed"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="https://ninja-build.org/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/ninja.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/ninja-build/ninja/archive/v$VERSION/$TARBALL"
15 BUILD_DEPENDS="python"
17 compile_rules() {
18 export NINJAJOBS=4 # Should be OK for our 6x Intel(R) Xeon(R) CPU W3530 @ 2.8GHz
20 python configure.py --bootstrap || return 1
22 install -Dm755 ninja $install/usr/bin/ninja
23 install -Dm644 misc/bash-completion $install/usr/share/bash-completion/completions/ninja
24 install -Dm644 misc/zsh-completion $install/usr/share/zsh/site-functions/_ninja
25 cook_pick_docs doc/manual.asciidoc
26 }
28 genpkg_rules() {
29 copy /usr/bin/ninja
30 TAGS="LFS"
31 }