wok-current view ninja/receipt @ rev 24416

thunar: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 10 19:39:21 2022 +0000 (2022-02-10)
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 }