wok-6.x annotate ninja/receipt @ rev 25522
created recipes for libtermkey and libtermkey-dev 0.22
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:12:54 2023 +0100 (20 months ago) |
parents | 5ea0ce1cecc0 |
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@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 } |