wok-6.x view ninja/receipt @ rev 21875
gc: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 16:04:52 2019 +0200 (2019-09-28) |
parents | fe90a00917af |
children | 8aef0091a430 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ninja"
4 VERSION="1.9.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 }