wok view ninja/receipt @ rev 25005

updated ntl (11.4.3 -> 11.5.1)
author Hans-G?nter Theisgen
date Mon May 16 16:29:07 2022 +0100 (2022-05-16)
parents 8aef0091a430
children f3f4f971f674
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure.py --bootstrap
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 mkdir -p $install/usr/share/doc
35 cp $src/doc/manual.asciidoc $install/usr/share/doc
36 cp -a $src/ninja $fs/usr/bin
37 }