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

updated rsync (3.2.3 -> 3.2.4)
author Hans-G?nter Theisgen
date Mon Jul 18 17:50:55 2022 +0100 (2022-07-18)
parents 5ea0ce1cecc0
children
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 }