wok annotate 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
rev   line source
pascal@20490 1 # SliTaz package receipt.
pascal@20490 2
pascal@20490 3 PACKAGE="ninja"
Hans-G?nter@25129 4 VERSION="1.11.0"
pascal@20490 5 CATEGORY="development"
Hans-G?nter@21545 6 SHORT_DESC="A small build system with a focus on speed."
pascal@20490 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20490 8 LICENSE="Apache"
Hans-G?nter@21545 9 WEB_SITE="https://ninja-build.org/"
Hans-G?nter@21545 10
pascal@20490 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21545 12 WGET_URL="https://github.com/ninja-build/$PACKAGE/archive/v$VERSION.tar.gz"
pascal@20490 13
pascal@20490 14 DEPENDS="gcc-lib-base"
pascal@20490 15 BUILD_DEPENDS="python"
pascal@20490 16
pascal@25600 17 # What is the latest version available today?
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25600 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 22 }
pascal@24055 23
pascal@20490 24 # Rules to configure and make the package.
pascal@20490 25 compile_rules()
pascal@20490 26 {
pascal@20490 27 ./configure.py --bootstrap
pascal@20490 28 }
pascal@20490 29
pascal@20490 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20490 31 genpkg_rules()
pascal@20490 32 {
Hans-G?nter@21545 33 mkdir -p $fs/usr/bin
Hans-G?nter@21545 34 mkdir -p $install/usr/share/doc
Hans-G?nter@21545 35
Hans-G?nter@21545 36 cp $src/doc/manual.asciidoc $install/usr/share/doc
Hans-G?nter@21545 37 cp -a $src/ninja $fs/usr/bin
pascal@20490 38 }