wok annotate ninja/receipt @ rev 24829

updated libsixel and libsixel-dev (1.8.6 -> 1.10.3)
author Hans-G?nter Theisgen
date Wed Mar 23 17:37:29 2022 +0100 (2022-03-23)
parents 8aef0091a430
children f3f4f971f674
rev   line source
pascal@20490 1 # SliTaz package receipt.
pascal@20490 2
pascal@20490 3 PACKAGE="ninja"
Hans-G?nter@23244 4 VERSION="1.10.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@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@20490 23 # Rules to configure and make the package.
pascal@20490 24 compile_rules()
pascal@20490 25 {
pascal@20490 26 ./configure.py --bootstrap
pascal@20490 27 }
pascal@20490 28
pascal@20490 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20490 30 genpkg_rules()
pascal@20490 31 {
Hans-G?nter@21545 32 mkdir -p $fs/usr/bin
Hans-G?nter@21545 33 mkdir -p $install/usr/share/doc
Hans-G?nter@21545 34
Hans-G?nter@21545 35 cp $src/doc/manual.asciidoc $install/usr/share/doc
Hans-G?nter@21545 36 cp -a $src/ninja $fs/usr/bin
pascal@20490 37 }