wok view ninja/receipt @ rev 25793
reverted version 4.14.1 to 4.12.0 for xfconf packages
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 15:16:12 2024 +0100 (7 days ago) |
parents | f3f4f971f674 |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure.py --bootstrap
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 mkdir -p $install/usr/share/doc
36 cp $src/doc/manual.asciidoc $install/usr/share/doc
37 cp -a $src/ninja $fs/usr/bin
38 }