wok-6.x view ninja/receipt @ rev 23548

Up bcrelay (1.4.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 06 17:04:09 2020 +0000 (2020-04-06)
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 }