wok-6.x annotate ninja/receipt @ rev 23925

Add Connect-Four
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 23 10:18:23 2020 +0000 (2020-08-23)
parents a4828d1818dd
children 5ea0ce1cecc0
rev   line source
pascal@20490 1 # SliTaz package receipt.
pascal@20490 2
pascal@20490 3 PACKAGE="ninja"
Hans-G?nter@23244 4 VERSION="1.10.0"
pascal@20490 5 CATEGORY="development"
Hans-G?nter@21545 6 SHORT_DESC="A small build system with a focus on speed."
pascal@20490 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20490 8 LICENSE="Apache"
Hans-G?nter@21545 9 WEB_SITE="https://ninja-build.org/"
Hans-G?nter@21545 10
pascal@20490 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21545 12 WGET_URL="https://github.com/ninja-build/$PACKAGE/archive/v$VERSION.tar.gz"
pascal@20490 13
pascal@20490 14 DEPENDS="gcc-lib-base"
pascal@20490 15 BUILD_DEPENDS="python"
pascal@20490 16
pascal@20490 17 # Rules to configure and make the package.
pascal@20490 18 compile_rules()
pascal@20490 19 {
pascal@20490 20 ./configure.py --bootstrap
pascal@20490 21 }
pascal@20490 22
pascal@20490 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20490 24 genpkg_rules()
pascal@20490 25 {
Hans-G?nter@21545 26 mkdir -p $fs/usr/bin
Hans-G?nter@21545 27 mkdir -p $install/usr/share/doc
Hans-G?nter@21545 28
Hans-G?nter@21545 29 cp $src/doc/manual.asciidoc $install/usr/share/doc
Hans-G?nter@21545 30 cp -a $src/ninja $fs/usr/bin
pascal@20490 31 }