wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="ninja"
4 VERSION="1.10.0"
5 CATEGORY="development"
6 SHORT_DESC="A small build system with a focus on speed."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 WEB_SITE="https://ninja-build.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/ninja-build/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="gcc-lib-base"
15 BUILD_DEPENDS="python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure.py --bootstrap
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 mkdir -p $install/usr/share/doc
29 cp $src/doc/manual.asciidoc $install/usr/share/doc
30 cp -a $src/ninja $fs/usr/bin
31 }