wok-next diff ninja/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ninja/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="ninja"
     1.7 +VERSION="1.8.2"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Small build system with a focus on speed"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="Apache"
    1.12 +WEB_SITE="https://ninja-build.org/"
    1.13 +LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/ninja.html"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +WGET_URL="https://github.com/ninja-build/ninja/archive/v$VERSION/$TARBALL"
    1.17 +
    1.18 +BUILD_DEPENDS="python"
    1.19 +
    1.20 +compile_rules() {
    1.21 +	export NINJAJOBS=4 # Should be OK for our 6x Intel(R) Xeon(R) CPU W3530 @ 2.8GHz
    1.22 +
    1.23 +	python configure.py --bootstrap || return 1
    1.24 +
    1.25 +	install -Dm755 ninja $install/usr/bin/ninja
    1.26 +	install -Dm644 misc/bash-completion $install/usr/share/bash-completion/completions/ninja
    1.27 +	install -Dm644 misc/zsh-completion  $install/usr/share/zsh/site-functions/_ninja
    1.28 +	cook_pick_docs doc/manual.asciidoc
    1.29 +}
    1.30 +
    1.31 +genpkg_rules() {
    1.32 +	copy /usr/bin/ninja
    1.33 +	TAGS="LFS"
    1.34 +}