wok view ninja/receipt @ rev 25428
updated xarchiver (0.5.4.14 -> 0.5.4.18)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 17:12:42 2022 +0100 (2022-08-18) |
parents | 5ea0ce1cecc0 |
children | 7364ffdaaa60 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ninja"
4 VERSION="1.11.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 }